Stephen Hurd fixed bug #505

Borland compilers have the alloca() prototype in malloc.h as with WATCOM.

--HG--
branch : SDL-1.2
This commit is contained in:
Sam Lantinga 2007-12-28 08:06:36 +00:00
parent 00610f157f
commit 88294ae6a7

View File

@ -174,6 +174,8 @@ extern DECLSPEC void SDLCALL SDL_free(void *mem);
# define alloca _alloca
# elif defined(__WATCOMC__)
# include <malloc.h>
# elif defined(__BORLANDC__)
# include <malloc.h>
# elif defined(__DMC__)
# include <stdlib.h>
# elif defined(__AIX__)