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 typedef signed char int8_t; 00033 typedef unsigned char uint8_t; 00034 typedef signed short int16_t; 00035 typedef unsigned short uint16_t; 00036 typedef signed int int32_t; 00037 typedef unsigned int uint32_t; 00038 typedef unsigned int size_t; 00039 typedef unsigned long uintptr_t; 00040 00041 /* Enable the dummy audio driver (src/audio/dummy/\*.c) */ 00042 #define SDL_AUDIO_DRIVER_DUMMY 1 00043 00044 /* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */ 00045 #define SDL_CDROM_DISABLED 1 00046 00047 /* Enable the stub joystick driver (src/joystick/dummy/\*.c) */ 00048 #define SDL_JOYSTICK_DISABLED 1 00049 00050 /* Enable the stub shared object loader (src/loadso/dummy/\*.c) */ 00051 #define SDL_LOADSO_DISABLED 1 00052 00053 /* Enable the stub thread support (src/thread/generic/\*.c) */ 00054 #define SDL_THREADS_DISABLED 1 00055 00056 /* Enable the stub timer support (src/timer/dummy/\*.c) */ 00057 #define SDL_TIMERS_DISABLED 1 00058 00059 /* Enable the dummy video driver (src/video/dummy/\*.c) */ 00060 #define SDL_VIDEO_DRIVER_DUMMY 1 00061 00062 #endif /* _SDL_config_minimal_h */