Merged revision 3458 from SDL 1.2, fixed Borland C alloca() prototype
authorSam Lantinga <slouken@libsdl.org>
Fri, 28 Dec 2007 08:07:57 +0000
changeset 2279 65bb3dd0b350
parent 2278 85cbe9c892f4
child 2280 1863fa2050e8
Merged revision 3458 from SDL 1.2, fixed Borland C alloca() prototype
include/SDL_stdinc.h
--- a/include/SDL_stdinc.h	Fri Dec 28 07:54:35 2007 +0000
+++ b/include/SDL_stdinc.h	Fri Dec 28 08:07:57 2007 +0000
@@ -212,6 +212,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__)