comparison include/SDL_config.h.in @ 1353:7ba544e2888d

Started the process of improving configure support, and merging C types and library support into a single header.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 09 Feb 2006 09:07:13 +0000
parents c643342f3f33
children 22f39393668a
comparison
equal deleted inserted replaced
1352:c643342f3f33 1353:7ba544e2888d
23 #ifndef _SDL_config_h 23 #ifndef _SDL_config_h
24 #define _SDL_config_h 24 #define _SDL_config_h
25 25
26 /* This is a set of defines to configure the SDL features */ 26 /* This is a set of defines to configure the SDL features */
27 27
28 #undef HAVE_STDARG_H 28 /* C language features */
29 #undef const
30 #undef inline
31 #undef volatile
29 32
30 /* Comment this if you want to build without any libc requirements */ 33 /* C datatypes */
34 #undef size_t
35 #undef int8_t
36 #undef uint8_t
37 #undef int16_t
38 #undef uint16_t
39 #undef int32_t
40 #undef uint32_t
41 #undef SDL_HAS_64BIT_TYPE
42 #undef int64_t
43 #undef uint64_t
44 #undef uintptr_t
45
46 /* Comment this if you want to build without any C library requirements */
31 #undef HAVE_LIBC 47 #undef HAVE_LIBC
32 #ifdef HAVE_LIBC 48 #ifdef HAVE_LIBC
33 49
34 /* Various C library headers */ 50 /* Useful headers */
51 #undef HAVE_SYS_TYPES_H
35 #undef HAVE_STDIO_H 52 #undef HAVE_STDIO_H
53 #undef STDC_HEADERS
36 #undef HAVE_STDLIB_H 54 #undef HAVE_STDLIB_H
55 #undef HAVE_STDARG_H
37 #undef HAVE_MALLOC_H 56 #undef HAVE_MALLOC_H
57 #undef HAVE_MEMORY_H
38 #undef HAVE_STRING_H 58 #undef HAVE_STRING_H
59 #undef HAVE_STRINGS_H
60 #undef HAVE_INTTYPES_H
61 #undef HAVE_STDINT_H
39 #undef HAVE_CTYPE_H 62 #undef HAVE_CTYPE_H
40 #ifndef _WIN32_WCE
41 #undef HAVE_SIGNAL_H 63 #undef HAVE_SIGNAL_H
42 #endif /* !_WIN32_WCE */
43 64
44 /* Features provided by SDL_stdlib.h */ 65 /* C library functions */
45 #undef HAVE_MALLOC 66 #undef HAVE_MALLOC
46 #undef HAVE_CALLOC 67 #undef HAVE_CALLOC
47 #undef HAVE_REALLOC 68 #undef HAVE_REALLOC
48 #undef HAVE_FREE 69 #undef HAVE_FREE
49 #undef HAVE_ALLOCA 70 #undef HAVE_ALLOCA
52 #undef HAVE_PUTENV 73 #undef HAVE_PUTENV
53 #undef HAVE_UNSETENV 74 #undef HAVE_UNSETENV
54 #endif 75 #endif
55 #undef HAVE_QSORT 76 #undef HAVE_QSORT
56 #undef HAVE_ABS 77 #undef HAVE_ABS
57 78 #undef HAVE_BCOPY
58 /* Features provided by SDL_string.h */
59 #undef HAVE_MEMSET 79 #undef HAVE_MEMSET
60 #undef HAVE_MEMCPY 80 #undef HAVE_MEMCPY
61 #undef HAVE_MEMMOVE 81 #undef HAVE_MEMMOVE
62 #undef HAVE_MEMCMP 82 #undef HAVE_MEMCMP
63 #undef HAVE_STRLEN 83 #undef HAVE_STRLEN
67 #undef HAVE_STRNCAT 87 #undef HAVE_STRNCAT
68 #undef HAVE_STRDUP 88 #undef HAVE_STRDUP
69 #undef HAVE__STRREV 89 #undef HAVE__STRREV
70 #undef HAVE__STRUPR 90 #undef HAVE__STRUPR
71 #undef HAVE__STRLWR 91 #undef HAVE__STRLWR
92 #undef HAVE_INDEX
93 #undef HAVE_RINDEX
72 #undef HAVE_STRCHR 94 #undef HAVE_STRCHR
73 #undef HAVE_STRRCHR 95 #undef HAVE_STRRCHR
74 #undef HAVE_STRSTR 96 #undef HAVE_STRSTR
75 #undef HAVE_ITOA 97 #undef HAVE_ITOA
76 #undef HAVE__LTOA 98 #undef HAVE__LTOA
91 #undef HAVE_SNPRINTF 113 #undef HAVE_SNPRINTF
92 #undef HAVE_VSNPRINTF 114 #undef HAVE_VSNPRINTF
93 115
94 #endif /* HAVE_LIBC */ 116 #endif /* HAVE_LIBC */
95 117
118
119 /* Allow disabling of core subsystems */
120 #undef DISABLE_AUDIO
121 #undef DISABLE_VIDEO
122 #undef DISABLE_EVENTS
123 #undef DISABLE_JOYSTICK
124 #undef DISABLE_CDROM
125 #undef DISABLE_THREADS
126 #undef DISABLE_TIMERS
127 #undef DISABLE_ENDIAN
128 #undef DISABLE_FILE
129 #undef DISABLE_CPUINFO
130
96 #endif /* _SDL_config_h */ 131 #endif /* _SDL_config_h */