include/SDL_config_minimal.h
author Sam Lantinga <slouken@libsdl.org>
Mon, 19 Oct 2009 13:31:58 +0000
changeset 3407 d3baf5ac4e37
parent 3243 5db962a9a991
child 3647 c5925cd41955
permissions -rw-r--r--
Partial fix for bug #859

Header file update from Ken for improved doxygen output
slouken@1603
     1
/*
slouken@1603
     2
    SDL - Simple DirectMedia Layer
slouken@2859
     3
    Copyright (C) 1997-2009 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@3407
    28
/**
slouken@3407
    29
 *  \file SDL_config_minimal.h
slouken@3407
    30
 *  
slouken@3407
    31
 *  This is the minimal configuration that can be used to build SDL.
slouken@3407
    32
 */
slouken@1603
    33
slouken@1603
    34
#include <stdarg.h>
slouken@1603
    35
slouken@3220
    36
#if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
slouken@1603
    37
typedef signed char int8_t;
slouken@1603
    38
typedef unsigned char uint8_t;
slouken@1603
    39
typedef signed short int16_t;
slouken@1603
    40
typedef unsigned short uint16_t;
slouken@1603
    41
typedef signed int int32_t;
slouken@1603
    42
typedef unsigned int uint32_t;
slouken@1603
    43
typedef unsigned int size_t;
slouken@1603
    44
typedef unsigned long uintptr_t;
slouken@3220
    45
#endif /* !_STDINT_H_ && !HAVE_STDINT_H */
slouken@1603
    46
slouken@1603
    47
/* Enable the dummy audio driver (src/audio/dummy/\*.c) */
slouken@1603
    48
#define SDL_AUDIO_DRIVER_DUMMY	1
slouken@1603
    49
slouken@1603
    50
/* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
slouken@1603
    51
#define SDL_JOYSTICK_DISABLED	1
slouken@1603
    52
slouken@2713
    53
/* Enable the stub haptic driver (src/haptic/dummy/\*.c) */
slouken@2771
    54
#define SDL_HAPTIC_DISABLED	1
slouken@2713
    55
slouken@1603
    56
/* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
slouken@1603
    57
#define SDL_LOADSO_DISABLED	1
slouken@1603
    58
slouken@1603
    59
/* Enable the stub thread support (src/thread/generic/\*.c) */
slouken@1603
    60
#define SDL_THREADS_DISABLED	1
slouken@1603
    61
slouken@1603
    62
/* Enable the stub timer support (src/timer/dummy/\*.c) */
slouken@1603
    63
#define SDL_TIMERS_DISABLED	1
slouken@1603
    64
slouken@1603
    65
/* Enable the dummy video driver (src/video/dummy/\*.c) */
slouken@1603
    66
#define SDL_VIDEO_DRIVER_DUMMY	1
slouken@1603
    67
slouken@1603
    68
#endif /* _SDL_config_minimal_h */