mirror of
https://github.com/fmtlib/fmt.git
synced 2024-07-08 14:09:05 +00:00
Defines are still needed for FMT_MODULE as well (#4027)
This commit is contained in:
parent
06948fa710
commit
bbf44cc000
14
src/os.cc
14
src/os.cc
|
@ -30,7 +30,15 @@
|
||||||
# define WIN32_LEAN_AND_MEAN
|
# define WIN32_LEAN_AND_MEAN
|
||||||
# endif
|
# endif
|
||||||
# include <io.h>
|
# include <io.h>
|
||||||
|
# endif // _WIN32
|
||||||
|
# endif // FMT_USE_FCNTL
|
||||||
|
|
||||||
|
# ifdef _WIN32
|
||||||
|
# include <windows.h>
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
# ifndef S_IRUSR
|
# ifndef S_IRUSR
|
||||||
# define S_IRUSR _S_IREAD
|
# define S_IRUSR _S_IREAD
|
||||||
# endif
|
# endif
|
||||||
|
@ -49,12 +57,6 @@
|
||||||
# ifndef S_IWOTH
|
# ifndef S_IWOTH
|
||||||
# define S_IWOTH 0
|
# define S_IWOTH 0
|
||||||
# endif
|
# endif
|
||||||
# endif // _WIN32
|
|
||||||
# endif // FMT_USE_FCNTL
|
|
||||||
|
|
||||||
# ifdef _WIN32
|
|
||||||
# include <windows.h>
|
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user