From 5a29d2d43060218d520d2f078784466d14128454 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 24 Sep 2005 22:59:06 +0000 Subject: (__attribute): Define to nothing for GCC 2. This works around a core dump on OpenBSD 3.4, which has GCC 2.95.3, which dumps core when given __attribute__(()). --- lib/regex_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/regex_internal.h') diff --git a/lib/regex_internal.h b/lib/regex_internal.h index 95df77cac..361647344 100644 --- a/lib/regex_internal.h +++ b/lib/regex_internal.h @@ -131,7 +131,7 @@ # define attribute_hidden #endif /* not _LIBC */ -#ifdef __GNUC__ +#if __GNUC__ >= 3 # define __attribute(arg) __attribute__ (arg) #else # define __attribute(arg) -- cgit v1.2.3-70-g09d2