Mercurial > sdl-ios-xcode
comparison include/SDL_config.h @ 1358:c71e05b4dc2e
More header massaging... works great on Windows. ;-)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 10 Feb 2006 06:48:43 +0000 |
parents | 22f39393668a |
children |
comparison
equal
deleted
inserted
replaced
1357:e18467d67cfd | 1358:c71e05b4dc2e |
---|---|
1 /* include/SDL_config.h. Generated by configure. */ | |
2 /* | 1 /* |
3 SDL - Simple DirectMedia Layer | 2 SDL - Simple DirectMedia Layer |
4 Copyright (C) 1997-2006 Sam Lantinga | 3 Copyright (C) 1997-2006 Sam Lantinga |
5 | 4 |
6 This library is free software; you can redistribute it and/or | 5 This library is free software; you can redistribute it and/or |
22 */ | 21 */ |
23 | 22 |
24 #ifndef _SDL_config_h | 23 #ifndef _SDL_config_h |
25 #define _SDL_config_h | 24 #define _SDL_config_h |
26 | 25 |
27 /* This is a set of defines to configure the SDL features */ | 26 /* This is the minimal configuration that can be used to build SDL */ |
28 | 27 |
29 /* C language features */ | 28 #include <stdarg.h> |
30 /* #undef const */ | |
31 /* #undef inline */ | |
32 /* #undef volatile */ | |
33 | 29 |
34 /* C datatypes */ | 30 typedef signed char int8_t; |
35 /* #undef size_t */ | 31 typedef unsigned char uint8_t; |
36 /* #undef int8_t */ | 32 typedef signed short int16_t; |
37 /* #undef uint8_t */ | 33 typedef unsigned short uint16_t; |
38 /* #undef int16_t */ | 34 typedef signed int int32_t; |
39 /* #undef uint16_t */ | 35 typedef unsigned int uint32_t; |
40 /* #undef int32_t */ | 36 typedef unsigned int size_t; |
41 /* #undef uint32_t */ | 37 typedef unsigned long uintptr_t; |
42 #define SDL_HAS_64BIT_TYPE 1 | |
43 /* #undef int64_t */ | |
44 /* #undef uint64_t */ | |
45 /* #undef uintptr_t */ | |
46 | |
47 /* Endianness */ | |
48 #define SDL_BYTEORDER 1234 | |
49 | |
50 /* Comment this if you want to build without any C library requirements */ | |
51 #define HAVE_LIBC 1 | |
52 #ifdef HAVE_LIBC | |
53 | |
54 /* Useful headers */ | |
55 #define HAVE_SYS_TYPES_H 1 | |
56 #define HAVE_STDIO_H 1 | |
57 #define STDC_HEADERS 1 | |
58 #define HAVE_STDLIB_H 1 | |
59 #define HAVE_STDARG_H 1 | |
60 #define HAVE_MALLOC_H 1 | |
61 #define HAVE_MEMORY_H 1 | |
62 #define HAVE_STRING_H 1 | |
63 #define HAVE_STRINGS_H 1 | |
64 #define HAVE_INTTYPES_H 1 | |
65 #define HAVE_STDINT_H 1 | |
66 #define HAVE_CTYPE_H 1 | |
67 #define HAVE_SIGNAL_H 1 | |
68 | |
69 /* C library functions */ | |
70 #define HAVE_MALLOC 1 | |
71 #define HAVE_CALLOC 1 | |
72 #define HAVE_REALLOC 1 | |
73 #define HAVE_FREE 1 | |
74 #define HAVE_ALLOCA 1 | |
75 #ifndef _WIN32 /* Don't use C runtime versions of these on Windows */ | |
76 #define HAVE_GETENV 1 | |
77 #define HAVE_PUTENV 1 | |
78 #define HAVE_UNSETENV 1 | |
79 #endif | |
80 #define HAVE_QSORT 1 | |
81 #define HAVE_ABS 1 | |
82 #define HAVE_BCOPY 1 | |
83 #define HAVE_MEMSET 1 | |
84 #define HAVE_MEMCPY 1 | |
85 #define HAVE_MEMMOVE 1 | |
86 #define HAVE_MEMCMP 1 | |
87 #define HAVE_STRLEN 1 | |
88 #define HAVE_STRCPY 1 | |
89 #define HAVE_STRNCPY 1 | |
90 #define HAVE_STRCAT 1 | |
91 #define HAVE_STRNCAT 1 | |
92 #define HAVE_STRDUP 1 | |
93 /* #undef HAVE__STRREV */ | |
94 /* #undef HAVE__STRUPR */ | |
95 /* #undef HAVE__STRLWR */ | |
96 /* #undef HAVE_INDEX */ | |
97 /* #undef HAVE_RINDEX */ | |
98 #define HAVE_STRCHR 1 | |
99 #define HAVE_STRRCHR 1 | |
100 #define HAVE_STRSTR 1 | |
101 /* #undef HAVE_ITOA */ | |
102 /* #undef HAVE__LTOA */ | |
103 /* #undef HAVE__UITOA */ | |
104 /* #undef HAVE__ULTOA */ | |
105 #define HAVE_STRTOL 1 | |
106 /* #undef HAVE__I64TOA */ | |
107 /* #undef HAVE__UI64TOA */ | |
108 #define HAVE_STRTOLL 1 | |
109 #define HAVE_STRTOD 1 | |
110 #define HAVE_ATOI 1 | |
111 #define HAVE_ATOF 1 | |
112 #define HAVE_STRCMP 1 | |
113 #define HAVE_STRNCMP 1 | |
114 /* #undef HAVE_STRICMP */ | |
115 #define HAVE_STRCASECMP 1 | |
116 #define HAVE_SSCANF 1 | |
117 #define HAVE_SNPRINTF 1 | |
118 /* #undef HAVE_VSNPRINTF */ | |
119 | |
120 #endif /* HAVE_LIBC */ | |
121 | |
122 | |
123 /* Allow disabling of core subsystems */ | |
124 /* #undef DISABLE_AUDIO */ | |
125 /* #undef DISABLE_VIDEO */ | |
126 /* #undef DISABLE_EVENTS */ | |
127 /* #undef DISABLE_JOYSTICK */ | |
128 /* #undef DISABLE_CDROM */ | |
129 /* #undef DISABLE_THREADS */ | |
130 /* #undef DISABLE_TIMERS */ | |
131 /* #undef DISABLE_FILE */ | |
132 /* #undef DISABLE_CPUINFO */ | |
133 | 38 |
134 #endif /* _SDL_config_h */ | 39 #endif /* _SDL_config_h */ |