projects
/
pgbouncer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
008620e
)
disable attribute hacks on older gccs
author
Marko Kreen
<markokr@gmail.com>
Thu, 14 Feb 2008 15:25:14 +0000
(15:25 +0000)
committer
Marko Kreen
<markokr@gmail.com>
Thu, 14 Feb 2008 15:25:14 +0000
(15:25 +0000)
include/system.h
patch
|
blob
|
blame
|
history
diff --git
a/include/system.h
b/include/system.h
index a06401ea34892cd625d4f03df02daf71779640d2..256430236cbb1615a0e992b9cd4b8266623b1e4b 100644
(file)
--- a/
include/system.h
+++ b/
include/system.h
@@
-63,7
+63,7
@@
#define FLEX_ARRAY 1
#endif
-#if
def __GNUC__
+#if
defined(__GNUC__) && (__GNUC__ >= 4)
/* gcc has hew positive aspects too */
#define _MUSTCHECK __attribute__((warn_unused_result))