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

Unified Diff: source/common/ucnvmbcs.c

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 side-by-side diff with in-line comments
Download patch
Index: source/common/ucnvmbcs.c
===================================================================
--- source/common/ucnvmbcs.c (revision 249466)
+++ source/common/ucnvmbcs.c (working copy)
@@ -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

Powered by Google App Engine
This is Rietveld 408576698