Skip to content

Latest commit

 

History

History
56 lines (46 loc) · 1.68 KB

SDL_config.h

File metadata and controls

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