Stephen Hurd fixed bug #505
Borland compilers have the alloca() prototype in malloc.h as with WATCOM. --HG-- branch : SDL-1.2 extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%402648
This commit is contained in:
parent
567b94e941
commit
c89ec803e3
1 changed files with 2 additions and 0 deletions
|
@ -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__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue