Only Linux needs this. Nearly every other OS put it in stdlib.h (or stdlib.h includes alloca.h as needed). My stdlib.h in linux includes it if any of __USE_GNU, __USE_BSD, or __USE_MISC is defined.
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
#if defined(_XBOX)
|
||||
# include <malloc.h> // for alloca
|
||||
# include "archutils/Xbox/VirtualMemory.h"
|
||||
#elif !defined(WIN32) && !defined(MACOSX)
|
||||
#elif defined(LINUX)
|
||||
# include <alloca.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user