--- qt-x11-opensource-src-4.0.1/config.tests/unix/fvisibility.test~ 2005-11-02 14:13:58 +0300 +++ qt-x11-opensource-src-4.0.1/config.tests/unix/fvisibility.test 2005-11-02 14:15:18 +0300 @@ -7,7 +7,7 @@ VERBOSE=$2 cat >>fvisibility.c << EOF __attribute__((visibility("default"))) void blah(); -#if defined(__GNUC__) && __GNUC__ < 4 +#if defined(__GNUC__) && __GNUC__ - 0 < 3 || (__GNUC__ - 0 == 3 && __GNUC_MINOR__ - 0 < 4) #error GCC3 with backported visibility patch is known to miscompile Qt #endif EOF