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

Unified Diff: patches/si_value.undef.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « patches/platform.qnx.patch ('k') | patches/xopen_source.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: patches/si_value.undef.patch
diff --git a/patches/si_value.undef.patch b/patches/si_value.undef.patch
new file mode 100644
index 0000000000000000000000000000000000000000..988872a78a6d325b8b0e7e2fa78e74c7d3640bab
--- /dev/null
+++ b/patches/si_value.undef.patch
@@ -0,0 +1,14 @@
+--- source/common/ucnvmbcs.c
++++ source/common/ucnvmbcs.c
+@@ -56,6 +56,11 @@
+ #include "cmemory.h"
+ #include "cstring.h"
+
++/* si_value is defined as a macro in some POSIX implementations' standard headers. */
++#ifdef si_value
++#undef si_value
++#endif
++
+ /* control optimizations according to the platform */
+ #define MBCS_UNROLL_SINGLE_TO_BMP 1
+ #define MBCS_UNROLL_SINGLE_FROM_BMP 0
« no previous file with comments | « patches/platform.qnx.patch ('k') | patches/xopen_source.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698