include/SDL_config_minimal.h
author Sam Lantinga <slouken@libsdl.org>
Thu, 23 Mar 2006 21:52:47 +0000
changeset 1607 932ba94c4032
parent 1603 64710b9f3eeb
child 1608 d951a5afaf07
permissions -rw-r--r--
These files should be included from SDL_config.h (so they get SDL_platform.h)
slouken@1603
     1
/*
slouken@1603
     2
    SDL - Simple DirectMedia Layer
slouken@1603
     3
    Copyright (C) 1997-2006 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@1607
    25
#ifndef _SDL_config_h
slouken@1607
    26
#error This file should be included from SDL_config.h - Copy SDL_config.h.default to SDL_config.h?
slouken@1607
    27
#endif
slouken@1603
    28
slouken@1603
    29
/* This is the minimal configuration that can be used to build SDL */
slouken@1603
    30
slouken@1603
    31
#include <stdarg.h>
slouken@1603
    32
slouken@1603
    33
typedef signed char int8_t;
slouken@1603
    34
typedef unsigned char uint8_t;
slouken@1603
    35
typedef signed short int16_t;
slouken@1603
    36
typedef unsigned short uint16_t;
slouken@1603
    37
typedef signed int int32_t;
slouken@1603
    38
typedef unsigned int uint32_t;
slouken@1603
    39
typedef unsigned int size_t;
slouken@1603
    40
typedef unsigned long uintptr_t;
slouken@1603
    41
slouken@1603
    42
/* Enable the dummy audio driver (src/audio/dummy/\*.c) */
slouken@1603
    43
#define SDL_AUDIO_DRIVER_DUMMY	1
slouken@1603
    44
slouken@1603
    45
/* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */
slouken@1603
    46
#define SDL_CDROM_DISABLED	1
slouken@1603
    47
slouken@1603
    48
/* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
slouken@1603
    49
#define SDL_JOYSTICK_DISABLED	1
slouken@1603
    50
slouken@1603
    51
/* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
slouken@1603
    52
#define SDL_LOADSO_DISABLED	1
slouken@1603
    53
slouken@1603
    54
/* Enable the stub thread support (src/thread/generic/\*.c) */
slouken@1603
    55
#define SDL_THREADS_DISABLED	1
slouken@1603
    56
slouken@1603
    57
/* Enable the stub timer support (src/timer/dummy/\*.c) */
slouken@1603
    58
#define SDL_TIMERS_DISABLED	1
slouken@1603
    59
slouken@1603
    60
/* Enable the dummy video driver (src/video/dummy/\*.c) */
slouken@1603
    61
#define SDL_VIDEO_DRIVER_DUMMY	1
slouken@1603
    62
slouken@1603
    63
#endif /* _SDL_config_minimal_h */