Home | History | Annotate | Download | only in patches
      1 --- source/common/ucnvmbcs.c
      2 +++ source/common/ucnvmbcs.c
      3 @@ -56,6 +56,11 @@
      4  #include "cmemory.h"
      5  #include "cstring.h"
      6  
      7 +/* si_value is defined as a macro in some POSIX implementations' standard headers. */
      8 +#ifdef si_value
      9 +#undef si_value
     10 +#endif
     11 +
     12  /* control optimizations according to the platform */
     13  #define MBCS_UNROLL_SINGLE_TO_BMP 1
     14  #define MBCS_UNROLL_SINGLE_FROM_BMP 0
     15