From 5ab2b8a553950333ff98642a4e4c8d8d3d87f4b8 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 19 Mar 2001 03:20:24 +0000 Subject: * dir.c (glob_helper): replace lstat() by stat() to follow symlink in the case like 'symlink/*'. * dir.c (glob_helper): gave warning too much. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/win32.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'win32') diff --git a/win32/win32.h b/win32/win32.h index 1ffe7faa7..5df539ecb 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__ -- cgit