From 1f904eed442f268d9f856aa25edbc7d7e906e6ae 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: svn+ssh://ci.ruby-lang.org/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 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__ -- cgit v1.2.3