comparison include/SDL_stdinc.h @ 1402:d910939febfa

Use consistent identifiers for the various platforms we support. Make sure every source file includes SDL_config.h, so the proper system headers are chosen.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 21 Feb 2006 08:46:50 +0000
parents 8570e1f4b1f1
children d2ee8da60262
comparison
equal deleted inserted replaced
1401:1819fd069e89 1402:d910939febfa
157 #endif 157 #endif
158 158
159 #if HAVE_ALLOCA && !defined(alloca) 159 #if HAVE_ALLOCA && !defined(alloca)
160 # if HAVE_ALLOCA_H 160 # if HAVE_ALLOCA_H
161 # include <alloca.h> 161 # include <alloca.h>
162 # elif __GNUC__ 162 # elif defined(__GNUC__)
163 # define alloca __builtin_alloca 163 # define alloca __builtin_alloca
164 # elif _MSC_VER 164 # elif defined(_MSC_VER)
165 # include <malloc.h> 165 # include <malloc.h>
166 # define alloca _alloca 166 # define alloca _alloca
167 # elif _AIX 167 # elif defined(__AIX__)
168 #pragma alloca 168 #pragma alloca
169 # else 169 # else
170 char *alloca (); 170 char *alloca ();
171 # endif 171 # endif
172 #endif 172 #endif