summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-09 14:48:21 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-09 14:48:21 +0000
commitdba42e07b5d6d2d25305f517c8b749dc2fcf6975 (patch)
treebc8dc5cfcc2cae8ce3519ec23b3faec24bc79cdf /win32
parent0926263bcacc971e189c46d5419046c60e3a6d0b (diff)
* win32/win32.h (S_I?USR): define only if not mingw32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 8ea735dfe0..42ef1800da 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -227,7 +227,7 @@ extern int isinf(double);
extern int isnan(double);
-#ifndef S_IRUSR
+#if !defined S_IRUSR && !defined __MINGW32__
#define S_IRUSR 0400
#endif
#ifndef S_IRGRP
@@ -237,7 +237,7 @@ extern int isnan(double);
#define S_IROTH 0004
#endif
-#ifndef S_IWUSR
+#if !defined S_IWUSR && !defined __MINGW32__
#define S_IWUSR 0200
#endif
#ifndef S_IWGRP
@@ -247,7 +247,7 @@ extern int isnan(double);
#define S_IWOTH 0002
#endif
-#ifndef S_IXUSR
+#if !defined S_IXUSR && !defined __MINGW32__
#define S_IXUSR 0100
#endif
#ifndef S_IXGRP