More mingw fixes

This commit is contained in:
vitaut 2015-03-12 08:29:28 -07:00
parent 57f9f06619
commit 23b7bfead0
2 changed files with 4 additions and 1 deletions

View File

@ -55,6 +55,9 @@
# ifdef __MINGW32__ # ifdef __MINGW32__
# define _SH_DENYNO 0x40 # define _SH_DENYNO 0x40
# undef fileno
# endif
# endif # endif
#endif // _WIN32 #endif // _WIN32

View File

@ -61,7 +61,7 @@
# define FMT_SYSTEM(call) call # define FMT_SYSTEM(call) call
# ifdef _WIN32 # ifdef _WIN32
// Fix warnings about deprecated symbols. // Fix warnings about deprecated symbols.
# define FMT_POSIX_CALL(call) (::_##call) # define FMT_POSIX_CALL(call) ::_##call
# else # else
# define FMT_POSIX_CALL(call) ::call # define FMT_POSIX_CALL(call) ::call
# endif # endif