X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=gcc-compat.h;h=61c3c88d1c4551a965aaa22c626ddf8fabec31ba;hp=c4e43107def98935f6ef1000a20128274a037b8e;hb=a601afd9c3c5819a0f2361bf073b7c737dcdab45;hpb=cf1e416e5db97f1673521a63dacaa1487fb875d7 diff --git a/gcc-compat.h b/gcc-compat.h index c4e43107..61c3c88d 100644 --- a/gcc-compat.h +++ b/gcc-compat.h @@ -16,7 +16,7 @@ #define __printf_1_2 __printf(1,2) #define __printf_2_3 __printf(2,3) -# if __GNUC__ >=3 && __GNUC_MINOR__ > 3 +# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 3) # define __must_check __attribute__ ((warn_unused_result)) # else # define __must_check /* no warn_unused_result */