* regex_internal.h (__GNUC_PREREQ, always_inline, inline, pure):
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 25 Sep 2005 04:20:16 +0000 (04:20 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 25 Sep 2005 04:20:16 +0000 (04:20 +0000)
commitb7f9037443c256c2ed36e35a084030d68a4ab088
treee0e0a089b2bfd92091db400cdbb0e2b0ccd1c9f1
parent98ecea3646900dc98ece5e10364ef56647e49e2e
* regex_internal.h (__GNUC_PREREQ, always_inline, inline, pure):
Remove.
(__attribute): Define to empty unless GCC 3.1 or later.
This works around a core dump on OpenBSD 3.4, which has GCC
2.95.3, which dumps core when given __attribute__(()).  It also
simplifies other tests, since we really don't want to bother with
worrying about which ancient version of GCC supported what.
Original problem reported by Yoann Vandoorselaere, with part of
the fix suggested by Derek Price.
lib/ChangeLog
lib/regex_internal.h