Index: source/common/ucnvmbcs.c |
diff --git a/source/common/ucnvmbcs.c b/source/common/ucnvmbcs.c |
index 538a18c521de5d070c24d2b4dd01dc2b5b3054c2..259f31e86feabee449f4672bb9e83c5affb5a99f 100644 |
--- a/source/common/ucnvmbcs.c |
+++ b/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 |