mirror of
https://github.com/yawut/SDL.git
synced 2026-04-25 15:58:04 -05:00
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:
parent
00610f157f
commit
88294ae6a7
|
|
@ -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…
Reference in New Issue
Block a user