Stephen Hurd fixed bug #505 SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Fri, 28 Dec 2007 08:06:36 +0000
branchSDL-1.2
changeset 4100 ad8bdb215737
parent 4099 822f9624f984
child 4101 ab38230546a5
Stephen Hurd fixed bug #505 Borland compilers have the alloca() prototype in malloc.h as with WATCOM.
include/SDL_stdinc.h
--- a/include/SDL_stdinc.h	Fri Dec 28 08:00:30 2007 +0000
+++ b/include/SDL_stdinc.h	Fri Dec 28 08:06:36 2007 +0000
@@ -174,6 +174,8 @@
 #  define alloca _alloca
 # elif defined(__WATCOMC__)
 #  include <malloc.h>
+# elif defined(__BORLANDC__)
+#  include <malloc.h>
 # elif defined(__DMC__)
 #  include <stdlib.h>
 # elif defined(__AIX__)