diff --git a/posix.cc b/posix.cc index c4721e16..7aca1a86 100644 --- a/posix.cc +++ b/posix.cc @@ -45,13 +45,13 @@ # define O_CREAT _O_CREAT # define O_TRUNC _O_TRUNC -#ifndef S_IRUSR -# define S_IRUSR _S_IREAD -#endif +# ifndef S_IRUSR +# define S_IRUSR _S_IREAD +# endif -#ifndef S_IWUSR -# define S_IWUSR _S_IWRITE -#endif +# ifndef S_IWUSR +# define S_IWUSR _S_IWRITE +# endif # ifdef __MINGW32__ # define _SH_DENYNO 0x40