diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-09-09 14:48:21 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-09-09 14:48:21 +0000 |
commit | 9b531e58ab389630537aebd148c7027bc14a4ac6 (patch) | |
tree | 10b64d59796963a4b251995e6972d03d26f98977 /win32 | |
parent | 5b79775df2b5903a2c9bdde3a8c78f5925233f7f (diff) | |
download | ruby-9b531e58ab389630537aebd148c7027bc14a4ac6.tar.gz ruby-9b531e58ab389630537aebd148c7027bc14a4ac6.tar.xz ruby-9b531e58ab389630537aebd148c7027bc14a4ac6.zip |
* win32/win32.h (S_I?USR): define only if not mingw32.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/win32.h b/win32/win32.h index 54ca551dc..95a6e4d47 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -240,7 +240,7 @@ extern int isnan(double); #define S_ISREG(m) (((unsigned short)(m) & S_IFMT) == S_IFREG) #endif -#ifndef S_IRUSR +#if !defined S_IRUSR && !defined __MINGW32__ #define S_IRUSR 0400 #endif #ifndef S_IRGRP @@ -250,7 +250,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 @@ -260,7 +260,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 |