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:
Steve Checkoway
2006-03-20 05:25:13 +00:00
parent 26741978ad
commit b7b28f2435
+1 -1
View File
@@ -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