e250382e702affb9b5191d4c2dc2a44615cc13f8
[reactos.git] / reactos / sdk / tools / mkisofs / reactos / xconfig.h
1 /*
2 * PROJECT: MKISOFS for the ReactOS Build System
3 * LICENSE: GNU GPLv2 as published by the Free Software Foundation
4 * AUTHORS: Colin Finck <colin@reactos.org>
5 */
6
7 /*
8 * When mkisofs is part of Schily tools, this file is generated by the Schily Build System
9 * and checks the existence of hundreds of headers and functions.
10 * For the ReactOS Build System, we provide a written version of this file with sufficient
11 * information to build mkisofs and universal among our supported build platforms.
12 */
13
14 #ifndef __XCONFIG_H
15 #define __XCONFIG_H
16
17 /*
18 * Header Files
19 */
20 #define PROTOTYPES 1
21 #define HAVE_STDARG_H 1
22 #define HAVE_STDLIB_H 1
23 #define HAVE_STDDEF_H 1
24 #define HAVE_STRING_H 1
25 #define STDC_HEADERS 1
26
27 #ifndef _WIN32
28 #define HAVE_UNISTD_H 1
29 #endif
30
31 #define HAVE_LIMITS_H 1
32 #define HAVE_FCNTL_H 1
33
34 #ifdef _WIN32
35 #define HAVE_IO_H 1
36 #endif
37
38 #if !defined(_MSC_VER) || _MSC_VER >= 1800
39 #define HAVE_INTTYPES_H 1
40 #endif
41
42 #define HAVE_STDINT_H 1
43
44 #ifndef _WIN32
45 #define HAVE_DIRENT_H 1
46 #define HAVE_SYS_TIME_H 1
47 #define TIME_WITH_SYS_TIME 1
48 #endif
49
50 #define HAVE_SYS_TYPES_H 1
51 #define HAVE_MATH_H 1
52 #define HAVE_ERRNO_DEF 1
53
54 #ifdef _WIN32
55 #define HAVE_WINDOWS_H 1
56 #define WBOOL WINBOOL
57 #endif
58
59 #define HAVE_LOCALE_H 1
60 #define HAVE_CTYPE_H 1
61 #define HAVE_WCTYPE_H 1
62 #define HAVE_WCHAR_H 1
63
64 /*
65 * Convert to SCHILY name
66 */
67 #define HAVE_STDC_HEADERS
68
69 /*
70 * Library Functions
71 */
72 #define HAVE_STRERROR 1
73 #define HAVE_MEMCHR 1
74 #define HAVE_MEMCPY 1
75 #define HAVE_MEMMOVE 1
76 #define HAVE_MEMSET 1
77
78 #ifndef _WIN32
79 #define HAVE_GETTIMEOFDAY 1
80 #endif
81
82 #define HAVE_TIME 1
83 #if !defined(_MSC_VER) || _MSC_VER >= 1800
84 #define HAVE_VA_COPY 1
85 #endif
86 #define HAVE_ECVT 1
87 #define HAVE_FCVT 1
88 #define HAVE_GCVT 1
89 #if !defined(_MSC_VER) || _MSC_VER >= 1800
90 #define HAVE_C99_ISINF 1
91 #define HAVE_C99_ISNAN 1
92 #endif
93
94 #define HAVE_SNPRINTF 1
95 #if defined(_MSC_VER) && _MSC_VER < 1900
96 #define snprintf _snprintf
97 #endif
98
99 #define HAVE_STRCAT 1
100 #define HAVE_STRNCAT 1
101 #define HAVE_STRCMP 1
102 #define HAVE_STRNCMP 1
103 #define HAVE_STRCPY 1
104
105 #ifdef __APPLE__
106 #define HAVE_STRLCAT 1
107 #define HAVE_STRLCPY 1
108 #endif
109
110 #define HAVE_STRNCPY 1
111 #define HAVE_STRDUP 1
112 #define HAVE_STRLEN 1
113 #define HAVE_STRCHR 1
114 #define HAVE_STRRCHR 1
115 #define HAVE_STRSTR 1
116 #define HAVE_STRCASECMP 1
117 #define HAVE_STRNCASECMP 1
118
119 #ifndef _WIN32
120 #define HAVE_USLEEP 1
121 #endif
122
123 #define HAVE_WCSCAT 1
124 #define HAVE_WCSNCAT 1
125 #define HAVE_WCSCMP 1
126 #define HAVE_WCSNCMP 1
127 #define HAVE_WCSCPY 1
128
129 #ifdef __APPLE__
130 #define HAVE_WCSLCAT 1
131 #define HAVE_WCSLCPY 1
132 #endif
133
134 #define HAVE_WCSNCPY 1
135 #define HAVE_WCSDUP 1
136 #define HAVE_WCSNDUP 1
137 #define HAVE_WCSLEN 1
138 #define HAVE_WCSNLEN 1
139 #define HAVE_WCSCHR 1
140 #define HAVE_WCSRCHR 1
141 #define HAVE_WCSSTR 1
142
143 #ifndef _WIN32
144 #define HAVE_WCWIDTH 1
145 #endif
146
147 #define HAVE_SETVBUF 1
148 #define HAVE_ISWPRINT 1
149 #define HAVE_MBSINIT 1
150 #define HAVE_MBTOWC 1
151 #define HAVE_WCTOMB 1
152 #define HAVE_MBRTOWC 1
153 #define HAVE_WCRTOMB 1
154
155 #if !defined(_WIN32) && !defined(__APPLE__)
156 #define HAVE_RAW_FEXECVE 1
157 #endif
158
159 /*
160 * Misc OS stuff
161 */
162 #ifndef _WIN32
163 #define HAVE__DEV_NULL 1
164 #endif
165
166 /*
167 * Structures
168 */
169 #ifndef _WIN32
170 #define HAVE_STRUCT_TIMEVAL 1
171 #endif
172
173 #define HAVE_STRUCT_TIMEZONE 1
174 #define HAVE_STRUCT_TIMESPEC 1
175
176 /*
177 * Types/Keywords
178 */
179 #define HAVE_LONGLONG 1
180
181 #ifndef _WIN32
182 #define VA_LIST_IS_ARRAY 1
183 #endif
184
185 #ifdef _WIN32
186 #define uid_t int
187 #define gid_t int
188 #define nlink_t unsigned long
189
190 #ifdef _MSC_VER
191 #define mode_t int
192 #endif
193 #endif
194
195 #define HAVE_TYPE_INTMAX_T 1
196 #define HAVE_TYPE_UINTMAX_T 1
197
198 /*
199 * ReactOS additions
200 */
201 #ifdef _MSC_VER
202 #define ssize_t int
203 #endif
204
205 /* Would need additional fprformat.c, less portable */
206 #define NO_FPRFORMAT
207
208 /* For a nice "mkisofs -version" :) */
209 #include <reactos/buildno.h>
210 #define HOST_CPU "ReactOS"
211 #define HOST_VENDOR KERNEL_VERSION_BUILD_STR
212 #define HOST_OS REACTOS_COMPILER_NAME "-" REACTOS_COMPILER_VERSION
213
214 #endif