summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-11 13:30:10 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-11 13:30:10 +0000
commit4f6e8bade5afe7d71ea6db73089f7634124aeec3 (patch)
tree29da03613375813fde9beb122e4ffea068d5a94e /dir.c
parente3d946f2503d01f6758911d458a9b9ef50e8080c (diff)
downloadbundler-4f6e8bade5afe7d71ea6db73089f7634124aeec3.tar.gz
* dir.c, file.c (lstat): avoid warnings for mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dir.c b/dir.c
index b516ef2752..5289585ef0 100644
--- a/dir.c
+++ b/dir.c
@@ -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