Added pre-configured versions of SDL_config.h for various platforms

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401426
This commit is contained in:
Sam Lantinga 2006-02-24 07:26:31 +00:00
parent 20ee4c7b98
commit 14c0a48114
10 changed files with 429 additions and 8 deletions

View file

@ -23,10 +23,22 @@
#ifndef _SDL_config_h
#define _SDL_config_h
/* This is the minimal configuration that can be used to build SDL */
#include "SDL_platform.h"
/* Add any platform that doesn't build using the configure system */
#if defined(__AMIGA__)
#include "SDL_config_amiga.h"
#elif defined(__DREAMCAST__)
#include "SDL_config_dreamcast.h"
#elif defined(__MACOS__)
#include "SDL_config_macos.h"
#elif defined(__MACOSX__)
#include "SDL_config_macosx.h"
#elif defined(__WIN32__)
#include "SDL_config_win32.h"
#else
/* This is the minimal configuration that can be used to build SDL */
#include <stdarg.h>
typedef signed char int8_t;
@ -37,5 +49,6 @@ typedef signed int int32_t;
typedef unsigned int uint32_t;
typedef unsigned int size_t;
typedef unsigned long uintptr_t;
#endif
#endif /* _SDL_config_h */