Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Side by Side Diff: icu52/patches/xopen_source.patch

Issue 224133003: Copy the remaining icu46 patches to preserve the history (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « icu52/patches/vs2012.patch ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 --- source/common/putil.c 1 --- source/common/putil.c
2 +++ source/common/putil.c 2 +++ source/common/putil.c
3 @@ -37,15 +37,17 @@ 3 @@ -37,15 +37,17 @@
4 ****************************************************************************** 4 ******************************************************************************
5 */ 5 */
6 6
7 -/* Define _XOPEN_SOURCE for Solaris and friends. */ 7 -/* Define _XOPEN_SOURCE for Solaris and friends. */
8 -/* NetBSD needs it to be >= 4 */ 8 -/* NetBSD needs it to be >= 4 */
9 -#if !defined(_XOPEN_SOURCE) 9 -#if !defined(_XOPEN_SOURCE)
10 -#if __STDC_VERSION__ >= 199901L 10 -#if __STDC_VERSION__ >= 199901L
11 -/* It is invalid to compile an XPG3, XPG4, XPG4v2 or XPG5 application using c99 on Solaris */ 11 -/* It is invalid to compile an XPG3, XPG4, XPG4v2 or XPG5 application using c99 on Solaris */
12 -#define _XOPEN_SOURCE 600 12 -#define _XOPEN_SOURCE 600
13 +/* Define _XOPEN_SOURCE for access to POSIX functions. */ 13 +/* Define _XOPEN_SOURCE for access to POSIX functions. */
14 +#ifdef _XOPEN_SOURCE 14 +#ifdef _XOPEN_SOURCE
15 + /* Use the predefined value. */ 15 + /* Use the predefined value. */
16 #else 16 #else
17 -#define _XOPEN_SOURCE 4 17 -#define _XOPEN_SOURCE 4
18 -#endif 18 -#endif
19 + /* 19 + /*
20 + * Version 6.0: 20 + * Version 6.0:
21 + * The Open Group Base Specifications Issue 6 (IEEE Std 1003.1, 2004 Editio n) 21 + * The Open Group Base Specifications Issue 6 (IEEE Std 1003.1, 2004 Editio n)
22 + * also known as 22 + * also known as
23 + * SUSv3 = Open Group Single UNIX Specification, Version 3 (UNIX03) 23 + * SUSv3 = Open Group Single UNIX Specification, Version 3 (UNIX03)
24 + */ 24 + */
25 +# define _XOPEN_SOURCE 600 25 +# define _XOPEN_SOURCE 600
26 #endif 26 #endif
27 27
28 /* Make sure things like readlink and such functions work. 28 /* Make sure things like readlink and such functions work.
OLDNEW
« no previous file with comments | « icu52/patches/vs2012.patch ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698