Guard more system headers by FMT_MODULE (#4006)

* Guard more system headers by `FMT_MODULE`

* Merge FMT_MODULE and FMT_IMPORT_STD
This commit is contained in:
LoveSy
2024-06-14 10:53:51 -07:00
committed by GitHub
parent 98dd673cf8
commit 8687315e86
14 changed files with 69 additions and 65 deletions
+2 -2
View File
@@ -8,7 +8,7 @@
#ifndef FMT_STD_H_
#define FMT_STD_H_
#ifndef FMT_IMPORT_STD
#ifndef FMT_MODULE
# include <atomic>
# include <bitset>
# include <complex>
@@ -29,7 +29,7 @@
# include <version>
#endif
#ifndef FMT_IMPORT_STD
#ifndef FMT_MODULE
// Checking FMT_CPLUSPLUS for warning suppression in MSVC.
# if FMT_CPLUSPLUS >= 201703L
# if FMT_HAS_INCLUDE(<filesystem>)