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

Side by Side Diff: patches/platform.qnx.patch

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 | « icu.gyp ('k') | patches/si_value.undef.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 diff --git a/source/common/unicode/pandroid.h b/source/common/unicode/pqnx.h
2 --- a/source/common/unicode/pandroid.h
3 +++ b/source/common/unicode/pqnx.h
4 @@ -45,8 +45,8 @@
5 #ifndef CYGWINMSVC
6
7 /** Define the platform we're on. */
8 -#ifndef U_LINUX
9 -#define U_LINUX
10 +#ifndef U_QNX
11 +#define U_QNX
12 #endif
13
14 /**
15 @@ -331,7 +331,7 @@
16 # ifdef __cplusplus
17 # define U_INLINE inline
18 # else
19 -# define U_INLINE inline
20 +# define U_INLINE __inline__
21 # endif
22 #endif
23
24 diff --git a/source/common/unicode/ptypes.h b/source/common/unicode/ptypes.h
25 --- a/source/common/unicode/ptypes.h
26 +++ b/source/common/unicode/ptypes.h
27 @@ -34,6 +34,8 @@
28 # include "unicode/pfreebsd.h"
29 #elif defined(__OpenBSD__)
30 # include "unicode/popenbsd.h"
31 +#elif defined(__QNXNTO__)
32 +# include "unicode/pqnx.h"
33 #else
34 # include "unicode/platform.h"
35 #endif
OLDNEW
« no previous file with comments | « icu.gyp ('k') | patches/si_value.undef.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698