1 /* include/SDL_config.h. Generated from SDL_config.h.in by configure. */
3 Simple DirectMedia Layer
4 Copyright (C) 1997-2015 Sam Lantinga <slouken@libsdl.org>
6 This software is provided 'as-is', without any express or implied
7 warranty. In no event will the authors be held liable for any damages
8 arising from the use of this software.
10 Permission is granted to anyone to use this software for any purpose,
11 including commercial applications, and to alter it and redistribute it
12 freely, subject to the following restrictions:
14 1. The origin of this software must not be misrepresented; you must not
15 claim that you wrote the original software. If you use this software
16 in a product, an acknowledgment in the product documentation would be
17 appreciated but is not required.
18 2. Altered source versions must be plainly marked as such, and must not be
19 misrepresented as being the original software.
20 3. This notice may not be removed or altered from any source distribution.
23 #ifndef _SDL_config_linux_h
24 #define _SDL_config_linux_h
27 * \file SDL_config.h.in
29 * This is a set of defines to configure the SDL features
32 /* General platform specific identifiers */
33 #include "SDL_platform.h"
35 /* Make sure that this isn't included by Visual C++ */
37 #error You should run hg revert SDL_config.h
40 /* C language features */
46 #define SIZEOF_VOIDP 4
47 #define HAVE_GCC_ATOMICS 1
48 /* #undef HAVE_GCC_SYNC_LOCK_TEST_AND_SET */
50 /* Comment this if you want to build without any C library requirements */
55 #define HAVE_ALLOCA_H 1
56 #define HAVE_SYS_TYPES_H 1
57 #define HAVE_STDIO_H 1
58 #define STDC_HEADERS 1
59 #define HAVE_STDLIB_H 1
60 #define HAVE_STDARG_H 1
61 #define HAVE_MALLOC_H 1
62 #define HAVE_MEMORY_H 1
63 #define HAVE_STRING_H 1
64 #define HAVE_STRINGS_H 1
65 #define HAVE_INTTYPES_H 1
66 #define HAVE_STDINT_H 1
67 #define HAVE_CTYPE_H 1
69 #define HAVE_ICONV_H 1
70 #define HAVE_SIGNAL_H 1
71 /* #undef HAVE_ALTIVEC_H */
72 /* #undef HAVE_PTHREAD_NP_H */
73 /* #undef HAVE_LIBUDEV_H */
74 #define HAVE_DBUS_DBUS_H 1
76 /* C library functions */
79 #define HAVE_REALLOC 1
82 #ifndef __WIN32__ /* Don't use C runtime versions of these on Windows */
86 #define HAVE_UNSETENV 1
93 #define HAVE_MEMMOVE 1
96 /* #undef HAVE_STRLCPY */
97 /* #undef HAVE_STRLCAT */
99 /* #undef HAVE__STRREV */
100 /* #undef HAVE__STRUPR */
101 /* #undef HAVE__STRLWR */
102 /* #undef HAVE_INDEX */
103 /* #undef HAVE_RINDEX */
104 #define HAVE_STRCHR 1
105 #define HAVE_STRRCHR 1
106 #define HAVE_STRSTR 1
107 /* #undef HAVE_ITOA */
108 /* #undef HAVE__LTOA */
109 /* #undef HAVE__UITOA */
110 /* #undef HAVE__ULTOA */
111 #define HAVE_STRTOL 1
112 #define HAVE_STRTOUL 1
113 /* #undef HAVE__I64TOA */
114 /* #undef HAVE__UI64TOA */
115 #define HAVE_STRTOLL 1
116 #define HAVE_STRTOULL 1
117 #define HAVE_STRTOD 1
120 #define HAVE_STRCMP 1
121 #define HAVE_STRNCMP 1
122 /* #undef HAVE__STRICMP */
123 #define HAVE_STRCASECMP 1
124 /* #undef HAVE__STRNICMP */
125 #define HAVE_STRNCASECMP 1
126 #define HAVE_VSSCANF 1
127 #define HAVE_VSNPRINTF 1
128 #define HAVE_M_PI /**/
132 #define HAVE_COPYSIGN 1
139 #define HAVE_SCALBN 1
143 #define HAVE_FSEEKO 1
144 #define HAVE_FSEEKO64 1
145 #define HAVE_SIGACTION 1
146 #define HAVE_SA_SIGACTION 1
147 #define HAVE_SETJMP 1
148 #define HAVE_NANOSLEEP 1
149 #define HAVE_SYSCONF 1
150 /* #undef HAVE_SYSCTLBYNAME */
151 #define HAVE_CLOCK_GETTIME 1
152 /* #undef HAVE_GETPAGESIZE */
153 #define HAVE_MPROTECT 1
155 #define HAVE_PTHREAD_SETNAME_NP 1
156 /* #undef HAVE_PTHREAD_SET_NAME_NP */
157 #define HAVE_SEM_TIMEDWAIT 1
160 #define HAVE_STDARG_H 1
161 #define HAVE_STDDEF_H 1
162 #define HAVE_STDINT_H 1
163 #endif /* HAVE_LIBC */
165 /* Paste generated code here */
167 /* Enable assembly routines */
168 #define SDL_ASSEMBLY_ROUTINES 1
169 /* #undef SDL_ALTIVEC_BLITTERS */
171 #endif /* _SDL_config_h */