Moved printf include to fmt.h

This commit is contained in:
fogo
2017-10-09 19:59:02 -03:00
parent ee525f9bef
commit e8b7f4194a
2 changed files with 6 additions and 8 deletions

View File

@@ -19,10 +19,16 @@
#define FMT_USE_WINDOWS_H 0
#endif
#include "spdlog/fmt/bundled/format.h"
#if defined(SPDLOG_FMT_PRINTF)
#include "spdlog/fmt/bundled/printf.h"
#endif
#else //external fmtlib
#include <fmt/format.h>
#if defined(SPDLOG_FMT_PRINTF)
#include <fmt/printf.h>
#endif
#endif