Don't include fmt/os.h in the module if it is disabled via FMT_OS

This commit is contained in:
Victor Zverovich
2024-01-01 12:14:14 -08:00
parent 583729493c
commit 398ddb8fec
2 changed files with 8 additions and 5 deletions

View File

@@ -90,7 +90,9 @@ extern "C++" {
#include "fmt/color.h"
#include "fmt/compile.h"
#include "fmt/format.h"
#include "fmt/os.h"
#if !defined(FMT_OS) || FMT_OS
# include "fmt/os.h"
#endif
#include "fmt/printf.h"
#include "fmt/std.h"
#include "fmt/xchar.h"