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:
@@ -4,6 +4,7 @@ module;
|
||||
// to prevent attachment to this module.
|
||||
#ifndef FMT_IMPORT_STD
|
||||
# include <algorithm>
|
||||
# include <bitset>
|
||||
# include <chrono>
|
||||
# include <cmath>
|
||||
# include <complex>
|
||||
@@ -40,6 +41,8 @@ module;
|
||||
# include <stdint.h>
|
||||
# include <stdio.h>
|
||||
# include <time.h>
|
||||
|
||||
import std;
|
||||
#endif
|
||||
#include <cerrno>
|
||||
#include <climits>
|
||||
|
||||
Reference in New Issue
Block a user