comparison 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
comparison
equal deleted inserted replaced
4099:822f9624f984 4100:ad8bdb215737
171 # define alloca __builtin_alloca 171 # define alloca __builtin_alloca
172 # elif defined(_MSC_VER) 172 # elif defined(_MSC_VER)
173 # include <malloc.h> 173 # include <malloc.h>
174 # define alloca _alloca 174 # define alloca _alloca
175 # elif defined(__WATCOMC__) 175 # elif defined(__WATCOMC__)
176 # include <malloc.h>
177 # elif defined(__BORLANDC__)
176 # include <malloc.h> 178 # include <malloc.h>
177 # elif defined(__DMC__) 179 # elif defined(__DMC__)
178 # include <stdlib.h> 180 # include <stdlib.h>
179 # elif defined(__AIX__) 181 # elif defined(__AIX__)
180 #pragma alloca 182 #pragma alloca