overlapping defines

This commit is contained in:
Niels 2016-06-29 09:16:18 +02:00
parent dc479b3f9d
commit d456dec320
2 changed files with 2 additions and 4 deletions

View file

@ -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"

View file

@ -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"