* win32/win32.h (S_I?USR): define only if not mingw32.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2002-09-09 14:48:21 +00:00
parent 6f92767afc
commit b3a426e70a
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
Mon Sep 9 23:43:33 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* win32/win32.h (S_I?USR): define only if not mingw32.
Mon Sep 9 11:21:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> Mon Sep 9 11:21:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* ext/stringio/stringio.c (strio_set_string): reinitialize * ext/stringio/stringio.c (strio_set_string): reinitialize

View File

@ -240,7 +240,7 @@ extern int isnan(double);
#define S_ISREG(m) (((unsigned short)(m) & S_IFMT) == S_IFREG) #define S_ISREG(m) (((unsigned short)(m) & S_IFMT) == S_IFREG)
#endif #endif
#ifndef S_IRUSR #if !defined S_IRUSR && !defined __MINGW32__
#define S_IRUSR 0400 #define S_IRUSR 0400
#endif #endif
#ifndef S_IRGRP #ifndef S_IRGRP
@ -250,7 +250,7 @@ extern int isnan(double);
#define S_IROTH 0004 #define S_IROTH 0004
#endif #endif
#ifndef S_IWUSR #if !defined S_IWUSR && !defined __MINGW32__
#define S_IWUSR 0200 #define S_IWUSR 0200
#endif #endif
#ifndef S_IWGRP #ifndef S_IWGRP
@ -260,7 +260,7 @@ extern int isnan(double);
#define S_IWOTH 0002 #define S_IWOTH 0002
#endif #endif
#ifndef S_IXUSR #if !defined S_IXUSR && !defined __MINGW32__
#define S_IXUSR 0100 #define S_IXUSR 0100
#endif #endif
#ifndef S_IXGRP #ifndef S_IXGRP