| 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
|
|
|