include/SDL_config_minimal.h
author Sam Lantinga <slouken@libsdl.org>
Sat, 31 Dec 2011 09:16:08 -0500
branchSDL-1.2
changeset 6137 4720145f848b
parent 4159 a1b03ba2fcd0
permissions -rw-r--r--
Happy New Year!
slouken@1603
     1
/*
slouken@1603
     2
    SDL - Simple DirectMedia Layer
slouken@6137
     3
    Copyright (C) 1997-2012 Sam Lantinga
slouken@1603
     4
slouken@1603
     5
    This library is free software; you can redistribute it and/or
slouken@1603
     6
    modify it under the terms of the GNU Lesser General Public
slouken@1603
     7
    License as published by the Free Software Foundation; either
slouken@1603
     8
    version 2.1 of the License, or (at your option) any later version.
slouken@1603
     9
slouken@1603
    10
    This library is distributed in the hope that it will be useful,
slouken@1603
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@1603
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@1603
    13
    Lesser General Public License for more details.
slouken@1603
    14
slouken@1603
    15
    You should have received a copy of the GNU Lesser General Public
slouken@1603
    16
    License along with this library; if not, write to the Free Software
slouken@1603
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
slouken@1603
    18
slouken@1603
    19
    Sam Lantinga
slouken@1603
    20
    slouken@libsdl.org
slouken@1603
    21
*/
slouken@1603
    22
slouken@1603
    23
#ifndef _SDL_config_minimal_h
slouken@1603
    24
#define _SDL_config_minimal_h
slouken@1608
    25
slouken@1608
    26
#include "SDL_platform.h"
slouken@1603
    27
slouken@1603
    28
/* This is the minimal configuration that can be used to build SDL */
slouken@1603
    29
slouken@1603
    30
#include <stdarg.h>
slouken@1603
    31
slouken@1603
    32
typedef signed char int8_t;
slouken@1603
    33
typedef unsigned char uint8_t;
slouken@1603
    34
typedef signed short int16_t;
slouken@1603
    35
typedef unsigned short uint16_t;
slouken@1603
    36
typedef signed int int32_t;
slouken@1603
    37
typedef unsigned int uint32_t;
slouken@1603
    38
typedef unsigned int size_t;
slouken@1603
    39
typedef unsigned long uintptr_t;
slouken@1603
    40
slouken@1603
    41
/* Enable the dummy audio driver (src/audio/dummy/\*.c) */
slouken@1603
    42
#define SDL_AUDIO_DRIVER_DUMMY	1
slouken@1603
    43
slouken@1603
    44
/* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */
slouken@1603
    45
#define SDL_CDROM_DISABLED	1
slouken@1603
    46
slouken@1603
    47
/* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
slouken@1603
    48
#define SDL_JOYSTICK_DISABLED	1
slouken@1603
    49
slouken@1603
    50
/* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
slouken@1603
    51
#define SDL_LOADSO_DISABLED	1
slouken@1603
    52
slouken@1603
    53
/* Enable the stub thread support (src/thread/generic/\*.c) */
slouken@1603
    54
#define SDL_THREADS_DISABLED	1
slouken@1603
    55
slouken@1603
    56
/* Enable the stub timer support (src/timer/dummy/\*.c) */
slouken@1603
    57
#define SDL_TIMERS_DISABLED	1
slouken@1603
    58
slouken@1603
    59
/* Enable the dummy video driver (src/video/dummy/\*.c) */
slouken@1603
    60
#define SDL_VIDEO_DRIVER_DUMMY	1
slouken@1603
    61
slouken@1603
    62
#endif /* _SDL_config_minimal_h */