X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fcompiler.h;h=2686ea1ff0f3c0507ee107963c7a51a09f912341;hb=08fb4339236536be2a31768d03d9826d1491437d;hp=5a1cd47733cf984205be5d8db81e7cc2d809e904;hpb=ff65b82671fc32ab96f85969d2790340b8d12877;p=simgear.git diff --git a/simgear/compiler.h b/simgear/compiler.h index 5a1cd477..2686ea1f 100644 --- a/simgear/compiler.h +++ b/simgear/compiler.h @@ -46,7 +46,7 @@ # warning GCC compilers prior to 3.4 are suspect # endif -# define GCC_VERSION (__GNUC__ * 10000 \ +# define SG_GCC_VERSION (__GNUC__ * 10000 \ + __GNUC_MINOR__ * 100 \ + __GNUC_PATCHLEVEL__) # define SG_COMPILER_STR "GNU C++ version " SG_STRINGIZE(__GNUC__) "." SG_STRINGIZE(__GNUC_MINOR__)