changeset 4100:ad8bdb215737 SDL-1.2

Stephen Hurd fixed bug #505 Borland compilers have the alloca() prototype in malloc.h as with WATCOM.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 28 Dec 2007 08:06:36 +0000
parents 822f9624f984
children ab38230546a5
files include/SDL_stdinc.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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__)