diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-30 13:08:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-30 13:08:45 +0300 |
commit | 38419eeb9df6a8778c292e219a3667bd5ebd4680 (patch) | |
tree | a980d318b2db1d771def689d6fc2856f870b95ff | |
parent | 20ac8001a989426d919f24fe663319f1b0bd1625 (diff) | |
download | mv-38419eeb9df6a8778c292e219a3667bd5ebd4680.tar.gz mv-38419eeb9df6a8778c292e219a3667bd5ebd4680.tar.bz2 mv-38419eeb9df6a8778c292e219a3667bd5ebd4680.tar.xz mv-38419eeb9df6a8778c292e219a3667bd5ebd4680.zip |
Dont redefine GCC_VERSION macro.
-rw-r--r-- | src/localconsts.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/localconsts.h b/src/localconsts.h index e416924fe..64db7f7fb 100644 --- a/src/localconsts.h +++ b/src/localconsts.h @@ -23,14 +23,18 @@ #define ENABLEDEBUGLOG 1 +#ifndef GCC_VERSION #define GCC_VERSION (__GNUC__ * 10000 \ + __GNUC_MINOR__ * 100 \ + __GNUC_PATCHLEVEL__) +#endif // GCC_VERSION #ifdef __clang__ +#ifndef CLANG_VERSION #define CLANG_VERSION (__clang_major__ * 10000 \ + __clang_minor__ * 100 \ + __clang_patchlevel__) +#endif // CLANG_VERSION #endif // __clang__ #define A_DEFAULT_COPY(func) |