mirror of
https://github.com/nlohmann/json.git
synced 2025-07-28 12:02:00 +03:00
overlapping defines
This commit is contained in:
@ -59,8 +59,7 @@ SOFTWARE.
|
|||||||
#if CLANG_VERSION < 34000
|
#if CLANG_VERSION < 34000
|
||||||
#error "unsupported Clang version - see https://github.com/nlohmann/json#supported-compilers"
|
#error "unsupported Clang version - see https://github.com/nlohmann/json#supported-compilers"
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#elif defined(__GNUC__)
|
||||||
#if defined(__GNUC__)
|
|
||||||
#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
|
#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
|
||||||
#if GCC_VERSION < 48000
|
#if GCC_VERSION < 48000
|
||||||
#error "unsupported GCC version - see https://github.com/nlohmann/json#supported-compilers"
|
#error "unsupported GCC version - see https://github.com/nlohmann/json#supported-compilers"
|
||||||
|
@ -59,8 +59,7 @@ SOFTWARE.
|
|||||||
#if CLANG_VERSION < 34000
|
#if CLANG_VERSION < 34000
|
||||||
#error "unsupported Clang version - see https://github.com/nlohmann/json#supported-compilers"
|
#error "unsupported Clang version - see https://github.com/nlohmann/json#supported-compilers"
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#elif defined(__GNUC__)
|
||||||
#if defined(__GNUC__)
|
|
||||||
#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
|
#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
|
||||||
#if GCC_VERSION < 48000
|
#if GCC_VERSION < 48000
|
||||||
#error "unsupported GCC version - see https://github.com/nlohmann/json#supported-compilers"
|
#error "unsupported GCC version - see https://github.com/nlohmann/json#supported-compilers"
|
||||||
|
Reference in New Issue
Block a user