diff options
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/win32.h b/win32/win32.h index 1ffe7faa70..5df539ecbd 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -179,8 +179,8 @@ extern "C++" { #define pclose _pclose #define strcasecmp _stricmp #define strncasecmp _strnicmp -#undef rb_sys_stat -#define rb_sys_stat win32_stat +#undef stat +#define stat win32_stat /* these are defined in nt.c */ #ifdef __MINGW32__ |