Mercurial > sdl-ios-xcode
comparison include/SDL_stdinc.h @ 1769:290b5baf2fca
Fixed bug #215
The current SVN trunk is missing the SDLCALL specifier at numerous locations.
It has to be added for all (possibly user provided) callbacks.
I stumbled over this while creating a makefile for the OpenWatcom compiler for
Win32.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 07 May 2006 03:40:06 +0000 |
parents | a80e1e0880b8 |
children | b98fd17b0b02 |
comparison
equal
deleted
inserted
replaced
1768:814f9f2c7a33 | 1769:290b5baf2fca |
---|---|
166 # elif defined(__GNUC__) | 166 # elif defined(__GNUC__) |
167 # define alloca __builtin_alloca | 167 # define alloca __builtin_alloca |
168 # elif defined(_MSC_VER) | 168 # elif defined(_MSC_VER) |
169 # include <malloc.h> | 169 # include <malloc.h> |
170 # define alloca _alloca | 170 # define alloca _alloca |
171 # elif defined(__WATCOMC__) | |
172 # include <malloc.h> | |
171 # elif defined(__AIX__) | 173 # elif defined(__AIX__) |
172 #pragma alloca | 174 #pragma alloca |
173 # else | 175 # else |
174 char *alloca (); | 176 char *alloca (); |
175 # endif | 177 # endif |