summaryrefslogtreecommitdiff
path: root/acconfig.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-12-15 16:33:33 +1100
committerDamien Miller <djm@mindrot.org>1999-12-15 16:33:33 +1100
commitb6359ba4b84d8982440f57a374b594c85284a813 (patch)
tree0b3a5d82077a3413228ddfa222d84a398849f5c1 /acconfig.h
parent864ea59da63b4941575e95f7dbbb361f88ee53ef (diff)
Fix __attribute__ breakage
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/acconfig.h b/acconfig.h
index 6be7bddb..35d4fb4b 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -261,8 +261,6 @@ enum
# define __P(x) x
#endif
-#if defined(__GNUC__) && (__GNUC__ < 2)
+#if !defined(__GNUC__) || (__GNUC__ < 2)
# define __attribute__(x)
-#else
-# define __attribute__(x)
-#endif /* defined(__GNUC__) && (__GNUC__ < 2) */
+#endif /* !defined(__GNUC__) || (__GNUC__ < 2) */