Defines are still needed for FMT_MODULE as well (#4027)

This commit is contained in:
Matthias Moulin 2024-06-24 16:11:35 +02:00 committed by GitHub
parent 06948fa710
commit bbf44cc000
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,7 +30,15 @@
# define WIN32_LEAN_AND_MEAN
# endif
# include <io.h>
# endif // _WIN32
# endif // FMT_USE_FCNTL
# ifdef _WIN32
# include <windows.h>
# endif
#endif
#ifdef _WIN32
# ifndef S_IRUSR
# define S_IRUSR _S_IREAD
# endif
@ -49,12 +57,6 @@
# ifndef S_IWOTH
# define S_IWOTH 0
# endif
# endif // _WIN32
# endif // FMT_USE_FCNTL
# ifdef _WIN32
# include <windows.h>
# endif
#endif
namespace {