mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 00:21:13 +00:00
More mingw fixes
This commit is contained in:
parent
57f9f06619
commit
23b7bfead0
3
posix.cc
3
posix.cc
@ -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
|
||||||
|
2
posix.h
2
posix.h
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user