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

Unified Diff: source/common/unicode/pqnx.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/common/ucnvmbcs.c ('k') | source/common/unicode/ptypes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/common/unicode/pqnx.h
diff --git a/source/common/unicode/pandroid.h b/source/common/unicode/pqnx.h
similarity index 95%
copy from source/common/unicode/pandroid.h
copy to source/common/unicode/pqnx.h
index 5d7533a19f5a8972e3b738d6e6305bf47207c05c..62e79ad72c2151582d13afe95aa2594d5af9d537 100644
--- a/source/common/unicode/pandroid.h
+++ b/source/common/unicode/pqnx.h
@@ -24,8 +24,8 @@
#define _PLATFORM_H
/**
- * \file
- * \brief Basic types for the platform
+ * \file
+ * \brief Basic types for the platform
*/
/* This file should be included before uvernum.h. */
@@ -34,7 +34,7 @@
#endif
/**
- * Determine wheter to enable auto cleanup of libraries.
+ * Determine wheter to enable auto cleanup of libraries.
* @internal
*/
#ifndef UCLN_NO_AUTO_CLEANUP
@@ -45,13 +45,13 @@
#ifndef CYGWINMSVC
/** Define the platform we're on. */
-#ifndef U_LINUX
-#define U_LINUX
+#ifndef U_QNX
+#define U_QNX
#endif
/**
* \def U_HAVE_DIRENT_H
- * Define whether dirent.h is available
+ * Define whether dirent.h is available
* @internal
*/
#ifndef U_HAVE_DIRENT_H
@@ -147,7 +147,7 @@
#endif
/* 1 or 0 to enable or disable threads. If undefined, default is: enable threads. */
-#ifndef ICU_USE_THREADS
+#ifndef ICU_USE_THREADS
#define ICU_USE_THREADS 1
#endif
@@ -272,7 +272,7 @@
/*===========================================================================*/
#ifndef U_HAVE_NL_LANGINFO_CODESET
-#define U_HAVE_NL_LANGINFO_CODESET 0
+#define U_HAVE_NL_LANGINFO_CODESET 0
#endif
#ifndef U_NL_LANGINFO_CODESET
@@ -303,7 +303,7 @@
#elif 1
#define U_EXPORT __attribute__((visibility("default")))
#elif (defined(__SUNPRO_CC) && __SUNPRO_CC >= 0x550) \
- || (defined(__SUNPRO_C) && __SUNPRO_C >= 0x550)
+ || (defined(__SUNPRO_C) && __SUNPRO_C >= 0x550)
#define U_EXPORT __global
/*#elif defined(__HP_aCC) || defined(__HP_cc)
#define U_EXPORT __declspec(dllexport)*/
@@ -318,7 +318,7 @@
#if defined(U_CYGWIN) && !defined(__GNUC__)
#define U_IMPORT __declspec(dllimport)
#else
-#define U_IMPORT
+#define U_IMPORT
#endif
/* @} */
@@ -331,12 +331,12 @@
# ifdef __cplusplus
# define U_INLINE inline
# else
-# define U_INLINE inline
+# define U_INLINE __inline__
# endif
#endif
#ifndef U_ALIGN_CODE
-#define U_ALIGN_CODE(n)
+#define U_ALIGN_CODE(n)
#endif
/** @} */
@@ -379,7 +379,7 @@
* Define the library suffix with C syntax.
* @internal
*/
-# define U_LIB_SUFFIX_C_NAME
+# define U_LIB_SUFFIX_C_NAME
/**
* Define the library suffix as a string with C syntax
* @internal
@@ -394,7 +394,7 @@
#if U_HAVE_LIB_SUFFIX
# ifndef U_ICU_ENTRY_POINT_RENAME
/* Renaming pattern: u_strcpy_41_suffix */
-# define U_ICU_ENTRY_POINT_RENAME(x) x ## _ ## 46 ##
+# define U_ICU_ENTRY_POINT_RENAME(x) x ## _ ## 46 ##
# define U_DEF_ICUDATA_ENTRY_POINT(major, minor) icudt####major##minor##_dat
# endif
« no previous file with comments | « source/common/ucnvmbcs.c ('k') | source/common/unicode/ptypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698