mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
Move the modules check
This commit is contained in:
parent
77eeb71830
commit
119c6bd16f
@ -1,9 +1,5 @@
|
||||
module;
|
||||
|
||||
#if !(defined(__cpp_modules) || FMT_CLANG_VERSION >= 1600)
|
||||
# error module not supported
|
||||
#endif
|
||||
|
||||
#if !defined(WIN32_LEAN_AND_MEAN) && defined(_WIN32)
|
||||
# define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
@ -83,6 +79,10 @@ export module fmt;
|
||||
#include "fmt/printf.h"
|
||||
#include "fmt/xchar.h"
|
||||
|
||||
#if !(defined(__cpp_modules) || FMT_CLANG_VERSION >= 1600)
|
||||
# error modules not supported
|
||||
#endif
|
||||
|
||||
// gcc doesn't yet implement private module fragments
|
||||
#if !FMT_GCC_VERSION
|
||||
module : private;
|
||||
|
Loading…
Reference in New Issue
Block a user