summaryrefslogtreecommitdiffstats
path: root/acconfig.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-12-15 06:33:33 +0100
committerDamien Miller <djm@mindrot.org>1999-12-15 06:33:33 +0100
commitb6359ba4b84d8982440f57a374b594c85284a813 (patch)
tree0b3a5d82077a3413228ddfa222d84a398849f5c1 /acconfig.h
parent - Integrated patchs from Juergen Keil <jk@tools.de> (diff)
downloadopenssh-b6359ba4b84d8982440f57a374b594c85284a813.tar.xz
openssh-b6359ba4b84d8982440f57a374b594c85284a813.zip
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 6be7bddb2..35d4fb4bb 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) */