Fix warnings on MinGW.

This commit is contained in:
Victor Zverovich
2014-07-09 08:39:01 -07:00
parent e3a44c11f6
commit 8321d0ecf9
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -38,8 +38,14 @@
# define O_CREAT _O_CREAT
# define O_TRUNC _O_TRUNC
#ifndef S_IRUSR
# define S_IRUSR _S_IREAD
#endif
#ifndef S_IWUSR
# define S_IWUSR _S_IWRITE
#endif
# ifdef __MINGW32__
# define _SH_DENYNO 0x40