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

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

Issue 195973005: Add support for QNX Neutrino. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/icu46/
Patch Set: Created 6 years, 9 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
Property Changes:
Added: svn:eol-style
+ LF
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

Powered by Google App Engine
This is Rietveld 408576698