Merge pull request #415 from DuncanSparks/alloca_fix
Fix alloca.h error in Defs.h
This commit is contained in:
commit
16000199c5
@ -62,8 +62,10 @@ enum class Error {
|
||||
#include <GodotGlobal.hpp>
|
||||
|
||||
// alloca() is non-standard. When using MSVC, it's in malloc.h.
|
||||
#if defined(__linux__) || defined(__APPLE__) || defined(__MINGW32__)
|
||||
#if defined(__linux__) || defined(__APPLE__)
|
||||
#include <alloca.h>
|
||||
#else
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
typedef float real_t;
|
||||
|
Loading…
x
Reference in New Issue
Block a user