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