Use __GXX_EXPERIMENTAL_CXX0X__ for better C++11 detection

This commit is contained in:
carterl
2015-02-15 04:16:23 +01:00
parent 43b9fefbd2
commit 9331533309
2 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -69,7 +69,7 @@
#endif
#if FMT_USE_STATIC_ASSERT || FMT_HAS_CPP_ATTRIBUTE(cxx_static_assert) || \
(FMT_GCC_VERSION >= 403 && __cplusplus >= 201103) || _MSC_VER >= 1600
(FMT_GCC_VERSION >= 403 && FMT_HAS_GXX_CXX11) || _MSC_VER >= 1600
# define FMT_STATIC_ASSERT(cond, message) static_assert(cond, message)
#else
# define FMT_CONCAT_(a, b) FMT_CONCAT(a, b)