1.1 --- a/lemon/core.h Wed Jul 09 14:41:36 2014 +0200
1.2 +++ b/lemon/core.h Wed Apr 01 18:13:30 2015 +0200
1.3 @@ -37,13 +37,7 @@
1.4 #pragma warning( disable : 4250 4355 4503 4800 4996 )
1.5 #endif
1.6
1.7 -#ifdef __GNUC__
1.8 -#define GCC_VERSION (__GNUC__ * 10000 \
1.9 - + __GNUC_MINOR__ * 100 \
1.10 - + __GNUC_PATCHLEVEL__)
1.11 -#endif
1.12 -
1.13 -#if GCC_VERSION >= 40800
1.14 +#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)
1.15 // Needed by the [DI]GRAPH_TYPEDEFS marcos for gcc 4.8
1.16 #pragma GCC diagnostic ignored "-Wunused-local-typedefs"
1.17 #endif