mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
alloca() fix
Corrections from 1e58b8afc0
.
* Re-add #pragma alloca for AIX - now in my_alloca.h
This commit is contained in:
parent
d1a4315f4c
commit
2e1c532bd2
1 changed files with 4 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue