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