diff options
| author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-04-11 13:30:10 +0000 |
|---|---|---|
| committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-04-11 13:30:10 +0000 |
| commit | 8af7287d2512613884d6573ca194d2b27576b371 (patch) | |
| tree | e4dfa284337a1ab48ebe3a31b6f67d40136bc0b5 /dir.c | |
| parent | 6f0fdbc1c6d9035aebc01d203eae44316d3f87f2 (diff) | |
| download | ruby-8af7287d2512613884d6573ca194d2b27576b371.tar.gz ruby-8af7287d2512613884d6573ca194d2b27576b371.tar.xz ruby-8af7287d2512613884d6573ca194d2b27576b371.zip | |
* dir.c, file.c (lstat): avoid warnings for mingw.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
| -rw-r--r-- | dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -63,8 +63,8 @@ char *strchr _((char*,char)); #include "util.h" -#ifndef HAVE_LSTAT -#define lstat(path,st) stat(path,st) +#if !defined HAVE_LSTAT && !defined lstat +#define lstat stat #endif #define FNM_NOESCAPE 0x01 |
