summaryrefslogtreecommitdiff
path: root/lib/libedit
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-04-04 18:05:06 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-04-04 18:05:06 +0000
commitc4d0b551c871741b2629095d3e0aae2e55ac51bd (patch)
treee65111330ad012bfe99ec2bdbe715a8fe1fa1a5a /lib/libedit
parentd754351ef53f06fab6f82d76db709f0d09a96679 (diff)
gcc 2.x is dead
ok millert@
Diffstat (limited to 'lib/libedit')
-rw-r--r--lib/libedit/sys.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libedit/sys.h b/lib/libedit/sys.h
index cb01859112a..b5a00249380 100644
--- a/lib/libedit/sys.h
+++ b/lib/libedit/sys.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sys.h,v 1.9 2010/06/30 00:05:35 nicm Exp $ */
+/* $OpenBSD: sys.h,v 1.10 2015/04/04 18:05:05 guenther Exp $ */
/* $NetBSD: sys.h,v 1.13 2009/12/30 22:37:40 christos Exp $ */
/*-
@@ -45,7 +45,7 @@
#include <sys/cdefs.h>
#endif
-#if !defined(__attribute__) && (defined(__cplusplus) || !defined(__GNUC__) || __GNUC__ == 2 && __GNUC_MINOR__ < 8)
+#if !defined(__attribute__) && defined(__cplusplus)
# define __attribute__(A)
#endif