diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-29 23:59:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-29 23:59:41 +0300 |
commit | abc334f8e88253e5393e27594c07cc56525b4e9a (patch) | |
tree | 77fec68814f10c7f20a07e6c7145211af8d11732 /src | |
parent | 021da8529f1b3b4cf17b07453e2953e4c4d65478 (diff) | |
download | mv-abc334f8e88253e5393e27594c07cc56525b4e9a.tar.gz mv-abc334f8e88253e5393e27594c07cc56525b4e9a.tar.bz2 mv-abc334f8e88253e5393e27594c07cc56525b4e9a.tar.xz mv-abc334f8e88253e5393e27594c07cc56525b4e9a.zip |
Fix compilation with gcc 4.6v1.2.9.30
Diffstat (limited to 'src')
-rw-r--r-- | src/localconsts.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/localconsts.h b/src/localconsts.h index 02815d521..947099668 100644 --- a/src/localconsts.h +++ b/src/localconsts.h @@ -24,6 +24,13 @@ #define final #define override #else +#define GCC_VERSION (__GNUC__ * 10000 \ + + __GNUC_MINOR__ * 100 \ + + __GNUC_PATCHLEVEL__) +#if GCC_VERSION < 40700 +#define final +#define override +#endif #undef Z_NULL #define Z_NULL nullptr #endif |