Move FMT_CLANG_VERSION definition to core.h (#1568)

Previously format.h defined FMT_CLANG_VERSION after including core.h, however core.h tests FMT_CLANG_VERSION when it defines FMT_API.
This commit is contained in:
refnum authored and GitHub committed 2020-02-29 17:19:34 -08:00
1 parent 6ccb2e241b
commit 75a4525e5f
2 files changed
+6 -6

No files matched your search

-6
View File
@@ -43,12 +43,6 @@
#include "core.h"
#ifdef __clang__
# define FMT_CLANG_VERSION (__clang_major__ * 100 + __clang_minor__)
#else
# define FMT_CLANG_VERSION 0
#endif
#ifdef __INTEL_COMPILER
# define FMT_ICC_VERSION __INTEL_COMPILER
#elif defined(__ICL)