drop_privileges_or_die(): Check return value of setuid().
[paraslash.git] / gcc-compat.h
index c4e43107def98935f6ef1000a20128274a037b8e..61c3c88d1c4551a965aaa22c626ddf8fabec31ba 100644 (file)
@@ -16,7 +16,7 @@
 #define  __printf_1_2 __printf(1,2)
 #define  __printf_2_3 __printf(2,3)
 
 #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 */
 # define __must_check  __attribute__ ((warn_unused_result))
 # else
 # define __must_check  /* no warn_unused_result */