00001 /* 00002 SDL - Simple DirectMedia Layer 00003 Copyright (C) 1997-2009 Sam Lantinga 00004 00005 This library is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Lesser General Public 00007 License as published by the Free Software Foundation; either 00008 version 2.1 of the License, or (at your option) any later version. 00009 00010 This library is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Lesser General Public License for more details. 00014 00015 You should have received a copy of the GNU Lesser General Public 00016 License along with this library; if not, write to the Free Software 00017 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00018 00019 Sam Lantinga 00020 slouken@libsdl.org 00021 */ 00022 00023 #ifndef _SDL_config_minimal_h 00024 #define _SDL_config_minimal_h 00025 00026 #include "SDL_platform.h" 00027 00028 /* This is the minimal configuration that can be used to build SDL */ 00029 00030 #include <stdarg.h> 00031 00032 #if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H) 00033 typedef signed char int8_t; 00034 typedef unsigned char uint8_t; 00035 typedef signed short int16_t; 00036 typedef unsigned short uint16_t; 00037 typedef signed int int32_t; 00038 typedef unsigned int uint32_t; 00039 typedef unsigned int size_t; 00040 typedef unsigned long uintptr_t; 00041 #endif /* !_STDINT_H_ && !HAVE_STDINT_H */ 00042 00043 /* Enable the dummy audio driver (src/audio/dummy/\*.c) */ 00044 #define SDL_AUDIO_DRIVER_DUMMY 1 00045 00046 /* Enable the stub joystick driver (src/joystick/dummy/\*.c) */ 00047 #define SDL_JOYSTICK_DISABLED 1 00048 00049 /* Enable the stub haptic driver (src/haptic/dummy/\*.c) */ 00050 #define SDL_HAPTIC_DISABLED 1 00051 00052 /* Enable the stub shared object loader (src/loadso/dummy/\*.c) */ 00053 #define SDL_LOADSO_DISABLED 1 00054 00055 /* Enable the stub thread support (src/thread/generic/\*.c) */ 00056 #define SDL_THREADS_DISABLED 1 00057 00058 /* Enable the stub timer support (src/timer/dummy/\*.c) */ 00059 #define SDL_TIMERS_DISABLED 1 00060 00061 /* Enable the dummy video driver (src/video/dummy/\*.c) */ 00062 #define SDL_VIDEO_DRIVER_DUMMY 1 00063 00064 #endif /* _SDL_config_minimal_h */