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:
Sam Lantinga 2006-02-21 08:46:50 +00:00
parent 14ec0fcc7b
commit c36118165e
502 changed files with 974 additions and 219 deletions

View file

@ -27,9 +27,9 @@
/* Redefine main() on Win32 and MacOS so that it is called by winmain.c */
#if defined(WIN32) || defined(_WIN32) || \
#if defined(__WIN32__) || \
(defined(__MWERKS__) && !defined(__BEOS__)) || \
defined(macintosh) || defined(__APPLE__) || \
defined(__MACOS__) || defined(__MACOSX__) || \
defined(__SYMBIAN32__) || defined(QWS)
#ifdef __cplusplus
@ -54,7 +54,7 @@ extern C_LINKAGE int SDL_main(int argc, char *argv[]);
/* From the SDL library code -- needed for registering the app on Win32 */
#if defined(WIN32)
#ifdef __WIN32__
#include "begin_code.h"
#ifdef __cplusplus
@ -74,7 +74,7 @@ extern DECLSPEC void SDLCALL SDL_UnregisterApp();
#endif
/* From the SDL library code -- needed for registering QuickDraw on MacOS */
#if defined(macintosh)
#if defined(__MACOS__)
#include "begin_code.h"
#ifdef __cplusplus