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

Side by Side Diff: icu46/source/tools/toolutil/platform_xopen_source_extended.h

Issue 5516007: Check in the pristine copy of ICU 4.6... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years 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 | « icu46/source/tools/toolutil/pkgitems.cpp ('k') | icu46/source/tools/toolutil/swapimpl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 /*
2 **********************************************************************
3 * Copyright (c) 2009, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
6 */
7 #ifndef _PLATFORM_XOPEN_SOURCE_EXTENDED_H
8 #define _PLATFORM_XOPEN_SOURCE_EXTENDED_H
9
10 #include "unicode/utypes.h"
11
12 /*
13 * z/OS needs this definition for timeval and to get usleep.
14 * We move this definition out of the various source files because
15 * there might be some platform issues when this is defined.
16 * See below.
17 */
18 #if !defined(_XOPEN_SOURCE_EXTENDED)
19 #define _XOPEN_SOURCE_EXTENDED 1
20 #endif
21
22 /*
23 * There is an issue with turning on _XOPEN_SOURCE_EXTENDED on certain platforms .
24 * A compatibility issue exists between turning on _XOPEN_SOURCE_EXTENDED and us ing
25 * standard C++ string class. As a result, standard C++ string class needs to be
26 * turned off for the follwing platforms:
27 * -AIX/VACPP
28 * -Solaris/GCC
29 */
30 #if (defined(U_AIX) && !defined(__GNUC__)) || (defined(U_SOLARIS) && defined(__G NUC__))
31 # if _XOPEN_SOURCE_EXTENDED && !defined(U_HAVE_STD_STRING)
32 # define U_HAVE_STD_STRING 0
33 # endif
34 #endif
35
36 #endif /* _PLATFORM_XOPEN_SOURCE_EXTENDED_H */
OLDNEW
« no previous file with comments | « icu46/source/tools/toolutil/pkgitems.cpp ('k') | icu46/source/tools/toolutil/swapimpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698