include/SDL_config.h
author Sam Lantinga <slouken@libsdl.org>
Tue, 21 Feb 2006 08:46:50 +0000
changeset 1402 d910939febfa
parent 1367 e440d5c488c1
child 1422 d2ee8da60262
permissions -rw-r--r--
Use consistent identifiers for the various platforms we support.
Make sure every source file includes SDL_config.h, so the proper system
headers are chosen.
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@1367
    26
/* This is the minimal configuration that can be used to build SDL */
slouken@1361
    27
slouken@1402
    28
#include "SDL_platform.h"
slouken@1402
    29
slouken@1367
    30
#include <stdarg.h>
slouken@1361
    31
slouken@1367
    32
typedef signed char int8_t;
slouken@1367
    33
typedef unsigned char uint8_t;
slouken@1367
    34
typedef signed short int16_t;
slouken@1367
    35
typedef unsigned short uint16_t;
slouken@1367
    36
typedef signed int int32_t;
slouken@1367
    37
typedef unsigned int uint32_t;
slouken@1367
    38
typedef unsigned int size_t;
slouken@1367
    39
typedef unsigned long uintptr_t;
slouken@1361
    40
slouken@1361
    41
#endif /* _SDL_config_h */