Commit 2e1c532b authored by Daniel Black's avatar Daniel Black

alloca() fix

Corrections from 1e58b8af.
* Re-add #pragma alloca for AIX - now in my_alloca.h
parent d1a4315f
......@@ -34,7 +34,10 @@
#endif
#endif
#if defined(HAVE_ALLOCA)
#if defined(_AIX) && !defined(__GNUC__) && !defined(_AIX43)
#pragma alloca
#endif /* _AIX */
/*
If the GCC/LLVM compiler from the MinGW is used,
alloca may not be defined when using the MSVC CRT:
......@@ -42,6 +45,5 @@
#if defined(__GNUC__) && !defined(HAVE_ALLOCA_H) && !defined(alloca)
#define alloca __builtin_alloca
#endif /* GNUC */
#endif
#endif /* MY_ALLOCA_INCLUDED */
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