Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Latest commit

 

History

History
78 lines (61 loc) · 2.44 KB

SDL_config_minimal.h

File metadata and controls

78 lines (61 loc) · 2.44 KB
 
1
2
/*
Simple DirectMedia Layer
Feb 15, 2013
Feb 15, 2013
3
Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org>
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
#ifndef _SDL_config_minimal_h
#define _SDL_config_minimal_h
#include "SDL_platform.h"
/**
* \file SDL_config_minimal.h
May 18, 2013
May 18, 2013
29
*
30
31
32
* This is the minimal configuration that can be used to build SDL.
*/
Jun 14, 2013
Jun 14, 2013
33
34
#define HAVE_STDARG_H 1
#define HAVE_STDDEF_H 1
Jun 14, 2013
Jun 14, 2013
36
37
38
/* Most everything except Visual Studio 2008 and earlier has stdint.h now */
#if defined(_MSC_VER) && (_MSC_VER < 1600)
/* Here are some reasonable defaults */
39
40
41
42
43
44
45
46
47
48
typedef unsigned int size_t;
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 signed long long int64_t;
typedef unsigned long long uint64_t;
typedef unsigned long uintptr_t;
Jun 14, 2013
Jun 14, 2013
49
50
51
#else
#define HAVE_STDINT_H 1
#endif /* Visual Studio 2008 */
52
53
54
55
56
57
#ifdef __GNUC__
#define HAVE_GCC_SYNC_LOCK_TEST_AND_SET 1
#endif
/* Enable the dummy audio driver (src/audio/dummy/\*.c) */
May 18, 2013
May 18, 2013
58
#define SDL_AUDIO_DRIVER_DUMMY 1
59
60
/* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
May 18, 2013
May 18, 2013
61
#define SDL_JOYSTICK_DISABLED 1
62
63
/* Enable the stub haptic driver (src/haptic/dummy/\*.c) */
May 18, 2013
May 18, 2013
64
#define SDL_HAPTIC_DISABLED 1
65
66
/* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
May 18, 2013
May 18, 2013
67
#define SDL_LOADSO_DISABLED 1
68
69
/* Enable the stub thread support (src/thread/generic/\*.c) */
May 18, 2013
May 18, 2013
70
#define SDL_THREADS_DISABLED 1
71
72
/* Enable the stub timer support (src/timer/dummy/\*.c) */
May 18, 2013
May 18, 2013
73
#define SDL_TIMERS_DISABLED 1
74
75
/* Enable the dummy video driver (src/video/dummy/\*.c) */
May 18, 2013
May 18, 2013
76
#define SDL_VIDEO_DRIVER_DUMMY 1
77
78
#endif /* _SDL_config_minimal_h */