diff options
Diffstat (limited to 'localeinit.c')
-rw-r--r-- | localeinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/localeinit.c b/localeinit.c index 420484a463..51a06c5b1c 100644 --- a/localeinit.c +++ b/localeinit.c @@ -19,7 +19,7 @@ #include <langinfo.h> #endif -#if defined _WIN32 +#if defined _WIN32 || defined __CYGWIN__ #define SIZEOF_CP_NAME ((sizeof(UINT) * 8 / 3) + 4) #define CP_FORMAT(buf, codepage) snprintf(buf, sizeof(buf), "CP%u", (codepage)) #endif |