projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move gengetopt targets to own Makefile.
[paraslash.git]
/
gcc-compat.h
diff --git
a/gcc-compat.h
b/gcc-compat.h
index c4e43107def98935f6ef1000a20128274a037b8e..61c3c88d1c4551a965aaa22c626ddf8fabec31ba 100644
(file)
--- 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)
#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 */