diff include/SDL_stdinc.h @ 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 33d34b7ce689
children be12463f31ea
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__)