equal
deleted
inserted
replaced
179 # else |
179 # else |
180 char *alloca (); |
180 char *alloca (); |
181 # endif |
181 # endif |
182 #endif |
182 #endif |
183 #ifdef HAVE_ALLOCA |
183 #ifdef HAVE_ALLOCA |
184 #define SDL_stack_alloc(type, count) (type*)alloca(sizeof(type)*count) |
184 #define SDL_stack_alloc(type, count) (type*)alloca(sizeof(type)*(count)) |
185 #define SDL_stack_free(data) |
185 #define SDL_stack_free(data) |
186 #else |
186 #else |
187 #define SDL_stack_alloc(type, count) (type*)SDL_malloc(sizeof(type)*count) |
187 #define SDL_stack_alloc(type, count) (type*)SDL_malloc(sizeof(type)*(count)) |
188 #define SDL_stack_free(data) SDL_free(data) |
188 #define SDL_stack_free(data) SDL_free(data) |
189 #endif |
189 #endif |
190 |
190 |
191 #ifdef HAVE_GETENV |
191 #ifdef HAVE_GETENV |
192 #define SDL_getenv getenv |
192 #define SDL_getenv getenv |