mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
The alloca function, strangely enough, is found in the malloc.h header file
on MINGW platform. Provide an #elseif case to #include malloc.h for this platform if malloc.h is found. Patch provided by Henrik Bach. Thanks Henrik! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16479 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a2de102a5b
commit
023f212f3c
@ -27,6 +27,8 @@
|
||||
/* noop on Visual C++ */
|
||||
#elif defined(HAVE_ALLOCA_H)
|
||||
#include <alloca.h>
|
||||
#elif defined(__MINGW_H) && defined(HAVE_MALLOC_H)
|
||||
#include <malloc.h>
|
||||
#elif !defined(__GNUC__)
|
||||
# ifdef _AIX
|
||||
# pragma alloca
|
||||
|
Loading…
x
Reference in New Issue
Block a user