This commit is contained in:
Victor Zverovich
2018-02-11 06:23:43 -08:00
parent 822222181b
commit d8ef8a9e9b
3 changed files with 3 additions and 99 deletions

View File

@@ -24,7 +24,7 @@
# define FMT_HAS_FEATURE(x) 0
#endif
#if defined(__has_include)
#ifdef __has_include
# define FMT_HAS_INCLUDE(x) __has_include(x)
#else
# define FMT_HAS_INCLUDE(x) 0
@@ -36,7 +36,7 @@
# define FMT_GCC_VERSION 0
#endif
#if __cplusplus >= 201103L || defined __GXX_EXPERIMENTAL_CXX0X__
#if __cplusplus >= 201103L || defined(__GXX_EXPERIMENTAL_CXX0X__)
# define FMT_HAS_GXX_CXX11 FMT_GCC_VERSION
#else
# define FMT_HAS_GXX_CXX11 0
@@ -82,8 +82,6 @@
# endif
#endif
#define FMT_USE_STRONG_ENUMS FMT_HAS_FEATURE(cxx_strong_enums)
// Check if exceptions are disabled.
#if defined(__GNUC__) && !defined(__EXCEPTIONS)
# define FMT_EXCEPTIONS 0