From ecc2024e30792790f371f62382ea2360e2135b47 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 24 Sep 2005 23:01:17 +0000 Subject: [PATCH] (__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(-) 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) -- 2.11.0