mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-12 23:37:33 +00:00
Patch to support MSVC correctly, contributed by Morten Ofstad!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17213 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
30cc227fa7
commit
988d174e96
@ -24,7 +24,8 @@
|
||||
* (notably FreeBSD) defined alloca() there.
|
||||
*/
|
||||
#ifdef _MSC_VER
|
||||
/* noop on Visual C++ */
|
||||
#include <malloc.h>
|
||||
#define alloca _alloca
|
||||
#elif defined(HAVE_ALLOCA_H)
|
||||
#include <alloca.h>
|
||||
#elif defined(__MINGW_H) && defined(HAVE_MALLOC_H)
|
||||
|
Loading…
x
Reference in New Issue
Block a user