mirror of
https://github.com/nlohmann/json.git
synced 2026-10-12 01:17:14 +00:00
overlapping defines
This commit is contained in:
1 parent
dc479b3f9d
commit
d456dec320
2 files changed
+2
-4
No files matched your search
+1
-2
@@ -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"
|
||||||
|
|||||||
+1
-2
@@ -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