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. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401406
This commit is contained in:
parent
14ec0fcc7b
commit
c36118165e
502 changed files with 974 additions and 219 deletions
|
@ -159,12 +159,12 @@ extern DECLSPEC void SDLCALL SDL_free(void *mem);
|
|||
#if HAVE_ALLOCA && !defined(alloca)
|
||||
# if HAVE_ALLOCA_H
|
||||
# include <alloca.h>
|
||||
# elif __GNUC__
|
||||
# elif defined(__GNUC__)
|
||||
# define alloca __builtin_alloca
|
||||
# elif _MSC_VER
|
||||
# elif defined(_MSC_VER)
|
||||
# include <malloc.h>
|
||||
# define alloca _alloca
|
||||
# elif _AIX
|
||||
# elif defined(__AIX__)
|
||||
#pragma alloca
|
||||
# else
|
||||
char *alloca ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue