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

Side by Side Diff: source/common/putil.c

Issue 141063008: Add support for QNX Neutrino. Base URL: https://chromium.googlesource.com/chromium/deps/icu46.git@master
Patch Set: Undo change to _XOPEN_SOURCE_EXTENDED Created 6 years, 10 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
« no previous file with comments | « patches/xopen_source.patch ('k') | source/common/ucnvmbcs.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 ****************************************************************************** 2 ******************************************************************************
3 * 3 *
4 * Copyright (C) 1997-2010, International Business Machines 4 * Copyright (C) 1997-2010, International Business Machines
5 * Corporation and others. All Rights Reserved. 5 * Corporation and others. All Rights Reserved.
6 * 6 *
7 ****************************************************************************** 7 ******************************************************************************
8 * 8 *
9 * FILE NAME : putil.c (previously putil.cpp and ptypes.cpp) 9 * FILE NAME : putil.c (previously putil.cpp and ptypes.cpp)
10 * 10 *
(...skipping 19 matching lines...) Expand all
30 * 04/15/99 stephen Converted to C. 30 * 04/15/99 stephen Converted to C.
31 * 06/28/99 stephen Removed mutex locking in u_isBigEndian(). 31 * 06/28/99 stephen Removed mutex locking in u_isBigEndian().
32 * 08/04/99 jeffrey R. Added OS/2 changes 32 * 08/04/99 jeffrey R. Added OS/2 changes
33 * 11/15/99 helena Integrated S/390 IEEE support. 33 * 11/15/99 helena Integrated S/390 IEEE support.
34 * 04/26/01 Barry N. OS/400 support for uprv_getDefaultLocaleID 34 * 04/26/01 Barry N. OS/400 support for uprv_getDefaultLocaleID
35 * 08/15/01 Steven H. OS/400 support for uprv_getDefaultCodepage 35 * 08/15/01 Steven H. OS/400 support for uprv_getDefaultCodepage
36 * 01/03/08 Steven L. Fake Time Support 36 * 01/03/08 Steven L. Fake Time Support
37 ****************************************************************************** 37 ******************************************************************************
38 */ 38 */
39 39
40 /* Define _XOPEN_SOURCE for Solaris and friends. */ 40 /* Define _XOPEN_SOURCE for access to POSIX functions. */
41 /* NetBSD needs it to be >= 4 */ 41 #ifdef _XOPEN_SOURCE
42 #if !defined(_XOPEN_SOURCE) 42 /* Use the predefined value. */
43 #if __STDC_VERSION__ >= 199901L
44 /* It is invalid to compile an XPG3, XPG4, XPG4v2 or XPG5 application using c99 on Solaris */
45 #define _XOPEN_SOURCE 600
46 #else 43 #else
47 #define _XOPEN_SOURCE 4 44 /*
48 #endif 45 * Version 6.0:
46 * The Open Group Base Specifications Issue 6 (IEEE Std 1003.1, 2004 Edition )
47 * also known as
48 * SUSv3 = Open Group Single UNIX Specification, Version 3 (UNIX03)
49 */
50 # define _XOPEN_SOURCE 600
49 #endif 51 #endif
50 52
51 /* Make sure things like readlink and such functions work. 53 /* Make sure things like readlink and such functions work.
52 Poorly upgraded Solaris machines can't have this defined. 54 Poorly upgraded Solaris machines can't have this defined.
53 Cleanly installed Solaris can use this #define. 55 Cleanly installed Solaris can use this #define.
54 */ 56 */
55 #if !defined(_XOPEN_SOURCE_EXTENDED) && ((!defined(__STDC_VERSION__) || __STDC_V ERSION__ >= 199901L) || defined(__xlc__)) 57 #if !defined(_XOPEN_SOURCE_EXTENDED) && ((!defined(__STDC_VERSION__) || __STDC_V ERSION__ >= 199901L) || defined(__xlc__))
56 #define _XOPEN_SOURCE_EXTENDED 1 58 #define _XOPEN_SOURCE_EXTENDED 1
57 #endif 59 #endif
58 60
(...skipping 2182 matching lines...) Expand 10 before | Expand all | Expand 10 after
2241 #endif /* U_ENABLE_DYLOAD */ 2243 #endif /* U_ENABLE_DYLOAD */
2242 2244
2243 /* 2245 /*
2244 * Hey, Emacs, please set the following: 2246 * Hey, Emacs, please set the following:
2245 * 2247 *
2246 * Local Variables: 2248 * Local Variables:
2247 * indent-tabs-mode: nil 2249 * indent-tabs-mode: nil
2248 * End: 2250 * End:
2249 * 2251 *
2250 */ 2252 */
OLDNEW
« no previous file with comments | « patches/xopen_source.patch ('k') | source/common/ucnvmbcs.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698