include/SDL_config.h
author Sam Lantinga <slouken@libsdl.org>
Sun, 26 Feb 2006 19:30:21 +0000
changeset 1442 e3242177fe4a
parent 1425 aea151eb97b8
child 1484 b2b476a4a73c
permissions -rw-r--r--
Updated OS/2 build, yay!
slouken@1361
     1
/*
slouken@1361
     2
    SDL - Simple DirectMedia Layer
slouken@1361
     3
    Copyright (C) 1997-2006 Sam Lantinga
slouken@1361
     4
slouken@1361
     5
    This library is free software; you can redistribute it and/or
slouken@1361
     6
    modify it under the terms of the GNU Lesser General Public
slouken@1361
     7
    License as published by the Free Software Foundation; either
slouken@1361
     8
    version 2.1 of the License, or (at your option) any later version.
slouken@1361
     9
slouken@1361
    10
    This library is distributed in the hope that it will be useful,
slouken@1361
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@1361
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@1361
    13
    Lesser General Public License for more details.
slouken@1361
    14
slouken@1361
    15
    You should have received a copy of the GNU Lesser General Public
slouken@1361
    16
    License along with this library; if not, write to the Free Software
slouken@1361
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
slouken@1361
    18
slouken@1361
    19
    Sam Lantinga
slouken@1361
    20
    slouken@libsdl.org
slouken@1361
    21
*/
slouken@1361
    22
slouken@1361
    23
#ifndef _SDL_config_h
slouken@1361
    24
#define _SDL_config_h
slouken@1361
    25
slouken@1422
    26
#include "SDL_platform.h"
slouken@1361
    27
slouken@1425
    28
/* Add any platform that doesn't build using the configure system */
slouken@1425
    29
#if defined(__AMIGA__)
slouken@1425
    30
#include "SDL_config_amiga.h"
slouken@1425
    31
#elif defined(__DREAMCAST__)
slouken@1425
    32
#include "SDL_config_dreamcast.h"
slouken@1425
    33
#elif defined(__MACOS__)
slouken@1425
    34
#include "SDL_config_macos.h"
slouken@1425
    35
#elif defined(__MACOSX__)
slouken@1425
    36
#include "SDL_config_macosx.h"
slouken@1425
    37
#elif defined(__WIN32__)
slouken@1425
    38
#include "SDL_config_win32.h"
slouken@1442
    39
#elif defined(__OS2__)
slouken@1442
    40
#include "SDL_config_os2.h"
slouken@1422
    41
#else
slouken@1425
    42
/* This is the minimal configuration that can be used to build SDL */
slouken@1402
    43
slouken@1425
    44
#include <stdarg.h>
slouken@1424
    45
slouken@1425
    46
typedef signed char int8_t;
slouken@1425
    47
typedef unsigned char uint8_t;
slouken@1425
    48
typedef signed short int16_t;
slouken@1425
    49
typedef unsigned short uint16_t;
slouken@1425
    50
typedef signed int int32_t;
slouken@1425
    51
typedef unsigned int uint32_t;
slouken@1425
    52
typedef unsigned int size_t;
slouken@1425
    53
typedef unsigned long uintptr_t;
slouken@1425
    54
#endif
slouken@1361
    55
slouken@1361
    56
#endif /* _SDL_config_h */