19682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/*
29682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    SDL - Simple DirectMedia Layer
39682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    Copyright (C) 1997-2012 Sam Lantinga
49682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
59682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    This library is free software; you can redistribute it and/or
69682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    modify it under the terms of the GNU Lesser General Public
79682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    License as published by the Free Software Foundation; either
89682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    version 2.1 of the License, or (at your option) any later version.
99682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
109682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    This library is distributed in the hope that it will be useful,
119682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    but WITHOUT ANY WARRANTY; without even the implied warranty of
129682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
139682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    Lesser General Public License for more details.
149682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
159682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    You should have received a copy of the GNU Lesser General Public
169682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    License along with this library; if not, write to the Free Software
179682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
189682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
199682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    Sam Lantinga
209682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    slouken@libsdl.org
219682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall*/
229682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
239682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#ifndef _SDL_config_minimal_h
249682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define _SDL_config_minimal_h
259682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
269682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#include "SDL_platform.h"
279682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
289682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* This is the minimal configuration that can be used to build SDL */
299682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
309682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#include <stdarg.h>
319682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
329682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef signed char int8_t;
339682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef unsigned char uint8_t;
349682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef signed short int16_t;
359682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef unsigned short uint16_t;
369682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef signed int int32_t;
379682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef unsigned int uint32_t;
389682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef unsigned int size_t;
399682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef unsigned long uintptr_t;
409682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
419682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable the dummy audio driver (src/audio/dummy/\*.c) */
429682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_AUDIO_DRIVER_DUMMY	1
439682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
449682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */
459682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_CDROM_DISABLED	1
469682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
479682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
489682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_JOYSTICK_DISABLED	1
499682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
509682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
519682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_LOADSO_DISABLED	1
529682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
539682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable the stub thread support (src/thread/generic/\*.c) */
549682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_THREADS_DISABLED	1
559682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
569682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable the stub timer support (src/timer/dummy/\*.c) */
579682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_TIMERS_DISABLED	1
589682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
599682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable the dummy video driver (src/video/dummy/\*.c) */
609682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_VIDEO_DRIVER_DUMMY	1
619682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
629682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#endif /* _SDL_config_minimal_h */
63