diff options
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c index ca834c9f5a..34bd15eb26 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -50,6 +50,10 @@ #include "win32/dir.h" #define isdirsep(x) ((x) == '/' || (x) == '\\') +#if defined _MSC_VER && _MSC_VER <= 1200 +# define CharNextExA(cp, p, flags) CharNextExA((WORD)(cp), (p), (flags)) +#endif + static int w32_stati64(const char *path, struct stati64 *st, UINT cp); static char *w32_getenv(const char *name, UINT cp); |