Commit d456dec3 authored by Niels's avatar Niels

overlapping defines

parent dc479b3f
......@@ -59,8 +59,7 @@ SOFTWARE.
#if CLANG_VERSION < 34000
#error "unsupported Clang version - see https://github.com/nlohmann/json#supported-compilers"
#endif
#endif
#if defined(__GNUC__)
#elif defined(__GNUC__)
#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
#if GCC_VERSION < 48000
#error "unsupported GCC version - see https://github.com/nlohmann/json#supported-compilers"
......
......@@ -59,8 +59,7 @@ SOFTWARE.
#if CLANG_VERSION < 34000
#error "unsupported Clang version - see https://github.com/nlohmann/json#supported-compilers"
#endif
#endif
#if defined(__GNUC__)
#elif defined(__GNUC__)
#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
#if GCC_VERSION < 48000
#error "unsupported GCC version - see https://github.com/nlohmann/json#supported-compilers"
......
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