Commit 2582f41e authored by Victor Zverovich's avatar Victor Zverovich

Fix ifdefs

parent 1a7d0ba2
...@@ -26,10 +26,13 @@ ...@@ -26,10 +26,13 @@
#ifdef __GNUC__ #ifdef __GNUC__
# define FMT_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__) # define FMT_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__)
# if __cplusplus >= 201103L || defined __GXX_EXPERIMENTAL_CXX0X__ #else
# define FMT_HAS_GXX_CXX11 1 # define FMT_GCC_VERSION 0
# endif #endif
# else
#if __cplusplus >= 201103L || defined __GXX_EXPERIMENTAL_CXX0X__
# define FMT_HAS_GXX_CXX11 FMT_GCC_VERSION
#else
# define FMT_HAS_GXX_CXX11 0 # define FMT_HAS_GXX_CXX11 0
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment