Commit 70c4e67a by Roger Sayle Committed by Roger Sayle

* regex.c: Only use "#pragma alloca" on AIX when not using gcc.

From-SVN: r56871
parent 7d97b054
2002-09-05 Roger Sayle <roger@eyesopen.com>
* regex.c: Only use "#pragma alloca" on AIX when not using gcc.
2002-08-07 DJ Delorie <dj@redhat.com> 2002-08-07 DJ Delorie <dj@redhat.com>
* regex.c (re_error_msgid): Just use a simple array of strings. * regex.c (re_error_msgid): Just use a simple array of strings.
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
routines with an "x" prefix so they do not collide with the native regex routines with an "x" prefix so they do not collide with the native regex
routines or with other components regex routines. */ routines or with other components regex routines. */
/* AIX requires this to be the first thing in the file. */ /* AIX requires this to be the first thing in the file. */
#if defined _AIX && !defined REGEX_MALLOC #if defined _AIX && !defined __GNUC__ && !defined REGEX_MALLOC
#pragma alloca #pragma alloca
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment