summary refs log tree commit diff stats
path: root/vendor/SDL2/include/SDL_config_minimal.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2022-03-20 13:03:18 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2022-03-20 13:03:18 -0400
commit304bab2aced9cae51d2e4c09f3d9e06c66ff175d (patch)
tree8397f81b893feb1cf624eee49c4fb01297aa08ad /vendor/SDL2/include/SDL_config_minimal.h
parentba350484072c78e5e1a765370c22dbd76474aa39 (diff)
downloadether-304bab2aced9cae51d2e4c09f3d9e06c66ff175d.tar.gz
ether-304bab2aced9cae51d2e4c09f3d9e06c66ff175d.tar.bz2
ether-304bab2aced9cae51d2e4c09f3d9e06c66ff175d.zip
we can build a window app!
build type must be set to Release or it's horribly slow, and fullscreen does not work
Diffstat (limited to 'vendor/SDL2/include/SDL_config_minimal.h')
-rw-r--r--vendor/SDL2/include/SDL_config_minimal.h82
1 files changed, 82 insertions, 0 deletions
diff --git a/vendor/SDL2/include/SDL_config_minimal.h b/vendor/SDL2/include/SDL_config_minimal.h new file mode 100644 index 0000000..3112700 --- /dev/null +++ b/vendor/SDL2/include/SDL_config_minimal.h
@@ -0,0 +1,82 @@
1/*
2 Simple DirectMedia Layer
3 Copyright (C) 1997-2017 Sam Lantinga <slouken@libsdl.org>
4
5 This software is provided 'as-is', without any express or implied
6 warranty. In no event will the authors be held liable for any damages
7 arising from the use of this software.
8
9 Permission is granted to anyone to use this software for any purpose,
10 including commercial applications, and to alter it and redistribute it
11 freely, subject to the following restrictions:
12
13 1. The origin of this software must not be misrepresented; you must not
14 claim that you wrote the original software. If you use this software
15 in a product, an acknowledgment in the product documentation would be
16 appreciated but is not required.
17 2. Altered source versions must be plainly marked as such, and must not be
18 misrepresented as being the original software.
19 3. This notice may not be removed or altered from any source distribution.
20*/
21
22#ifndef SDL_config_minimal_h_
23#define SDL_config_minimal_h_
24#define SDL_config_h_
25
26#include "SDL_platform.h"
27
28/**
29 * \file SDL_config_minimal.h
30 *
31 * This is the minimal configuration that can be used to build SDL.
32 */
33
34#define HAVE_STDARG_H 1
35#define HAVE_STDDEF_H 1
36
37/* Most everything except Visual Studio 2008 and earlier has stdint.h now */
38#if defined(_MSC_VER) && (_MSC_VER < 1600)
39/* Here are some reasonable defaults */
40typedef unsigned int size_t;
41typedef signed char int8_t;
42typedef unsigned char uint8_t;
43typedef signed short int16_t;
44typedef unsigned short uint16_t;
45typedef signed int int32_t;
46typedef unsigned int uint32_t;
47typedef signed long long int64_t;
48typedef unsigned long long uint64_t;
49typedef unsigned long uintptr_t;
50#else
51#define HAVE_STDINT_H 1
52#endif /* Visual Studio 2008 */
53
54#ifdef __GNUC__
55#define HAVE_GCC_SYNC_LOCK_TEST_AND_SET 1
56#endif
57
58/* Enable the dummy audio driver (src/audio/dummy/\*.c) */
59#define SDL_AUDIO_DRIVER_DUMMY 1
60
61/* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
62#define SDL_JOYSTICK_DISABLED 1
63
64/* Enable the stub haptic driver (src/haptic/dummy/\*.c) */
65#define SDL_HAPTIC_DISABLED 1
66
67/* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
68#define SDL_LOADSO_DISABLED 1
69
70/* Enable the stub thread support (src/thread/generic/\*.c) */
71#define SDL_THREADS_DISABLED 1
72
73/* Enable the stub timer support (src/timer/dummy/\*.c) */
74#define SDL_TIMERS_DISABLED 1
75
76/* Enable the dummy video driver (src/video/dummy/\*.c) */
77#define SDL_VIDEO_DRIVER_DUMMY 1
78
79/* Enable the dummy filesystem driver (src/filesystem/dummy/\*.c) */
80#define SDL_FILESYSTEM_DUMMY 1
81
82#endif /* SDL_config_minimal_h_ */