diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/ChangeLog | 4 | ||||
-rw-r--r-- | util/regcomp.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/util/ChangeLog b/util/ChangeLog index 7b83de9a9..11aa28165 100644 --- a/util/ChangeLog +++ b/util/ChangeLog @@ -1,3 +1,7 @@ +2005-05-31 Werner Koch <[email protected]> + + * regcomp.c (MB_CUR_MAX) [_WIN32]: Define it only if not defined. + 2005-05-29 David Shaw <[email protected]> * strgutil.c (set_native_charset) [_WIN32]: Add alias for codepage diff --git a/util/regcomp.c b/util/regcomp.c index d4957e4b9..28b54a97e 100644 --- a/util/regcomp.c +++ b/util/regcomp.c @@ -26,7 +26,7 @@ #include <stdlib.h> #include <string.h> -#ifdef _WIN32 +#if defined(_WIN32) && !defined (MB_CUR_MAX) #define MB_CUR_MAX 2 #endif |