45d5f7c71c0a1a4d32d3929a0e2530ac7b3a56ee
[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 #define HAVE_INTTYPES_H 1
39 #define HAVE_STDINT_H 1
40
41 #ifndef WIN32
42 #define HAVE_DIRENT_H 1
43 #define HAVE_SYS_TIME_H 1
44 #define TIME_WITH_SYS_TIME 1
45 #endif
46
47 #define HAVE_SYS_TYPES_H 1
48 #define HAVE_MATH_H 1
49 #define HAVE_ERRNO_DEF 1
50
51 #ifdef WIN32
52 #define HAVE_WINDOWS_H 1
53 #define WBOOL WINBOOL
54 #endif
55
56 #define HAVE_LOCALE_H 1
57 #define HAVE_CTYPE_H 1
58 #define HAVE_WCTYPE_H 1
59 #define HAVE_WCHAR_H 1
60
61 /*
62 * Convert to SCHILY name
63 */
64 #define HAVE_STDC_HEADERS
65
66 /*
67 * Library Functions
68 */
69 #define HAVE_STRERROR 1
70 #define HAVE_MEMCHR 1
71 #define HAVE_MEMCPY 1
72 #define HAVE_MEMMOVE 1
73 #define HAVE_MEMSET 1
74
75 #ifndef WIN32
76 #define HAVE_GETTIMEOFDAY 1
77 #endif
78
79 #define HAVE_TIME 1
80 #define HAVE_VA_COPY 1
81 #define HAVE_ECVT 1
82 #define HAVE_FCVT 1
83 #define HAVE_GCVT 1
84 #define HAVE_C99_ISINF 1
85 #define HAVE_C99_ISNAN 1
86
87 #define HAVE_SNPRINTF 1
88 #if defined(_MSC_VER) && _MSC_VER < 1900
89 #define snprintf _snprintf
90 #endif
91
92 #define HAVE_STRCAT 1
93 #define HAVE_STRNCAT 1
94 #define HAVE_STRCMP 1
95 #define HAVE_STRNCMP 1
96 #define HAVE_STRCPY 1
97
98 #ifdef __APPLE__
99 #define HAVE_STRLCAT 1
100 #define HAVE_STRLCPY 1
101 #endif
102
103 #define HAVE_STRNCPY 1
104 #define HAVE_STRDUP 1
105 #define HAVE_STRLEN 1
106 #define HAVE_STRCHR 1
107 #define HAVE_STRRCHR 1
108 #define HAVE_STRSTR 1
109 #define HAVE_STRCASECMP 1
110 #define HAVE_STRNCASECMP 1
111
112 #ifndef WIN32
113 #define HAVE_USLEEP 1
114 #endif
115
116 #define HAVE_WCSCAT 1
117 #define HAVE_WCSNCAT 1
118 #define HAVE_WCSCMP 1
119 #define HAVE_WCSNCMP 1
120 #define HAVE_WCSCPY 1
121
122 #ifdef __APPLE__
123 #define HAVE_WCSLCAT 1
124 #define HAVE_WCSLCPY 1
125 #endif
126
127 #define HAVE_WCSNCPY 1
128 #define HAVE_WCSDUP 1
129 #define HAVE_WCSNDUP 1
130 #define HAVE_WCSLEN 1
131 #define HAVE_WCSNLEN 1
132 #define HAVE_WCSCHR 1
133 #define HAVE_WCSRCHR 1
134 #define HAVE_WCSSTR 1
135
136 #ifndef WIN32
137 #define HAVE_WCWIDTH 1
138 #endif
139
140 #define HAVE_SETVBUF 1
141 #define HAVE_ISWPRINT 1
142 #define HAVE_MBSINIT 1
143 #define HAVE_MBTOWC 1
144 #define HAVE_WCTOMB 1
145 #define HAVE_MBRTOWC 1
146 #define HAVE_WCRTOMB 1
147
148 #if !defined(WIN32) && !defined(__APPLE__)
149 #define HAVE_RAW_FEXECVE 1
150 #endif
151
152 /*
153 * Misc OS stuff
154 */
155 #ifndef WIN32
156 #define HAVE__DEV_NULL 1
157 #endif
158
159 /*
160 * Structures
161 */
162 #ifndef WIN32
163 #define HAVE_STRUCT_TIMEVAL 1
164 #endif
165
166 #define HAVE_STRUCT_TIMEZONE 1
167 #define HAVE_STRUCT_TIMESPEC 1
168
169 /*
170 * Types/Keywords
171 */
172 #define HAVE_LONGLONG 1
173
174 #ifndef WIN32
175 #define VA_LIST_IS_ARRAY 1
176 #endif
177
178 #ifdef WIN32
179 #define uid_t int
180 #define gid_t int
181 #define nlink_t unsigned long
182
183 #ifdef _MSC_VER
184 #define mode_t int
185 #endif
186 #endif
187
188 #define HAVE_TYPE_INTMAX_T 1
189 #define HAVE_TYPE_UINTMAX_T 1
190
191 /*
192 * ReactOS additions
193 */
194 #ifdef _MSC_VER
195 #define ssize_t int
196 #endif
197
198 /* Would need additional fprformat.c, less portable */
199 #define NO_FPRFORMAT
200
201 /* For a nice "mkisofs -version" :) */
202 #include <reactos/buildno.h>
203 #define HOST_CPU "ReactOS"
204 #define HOST_VENDOR KERNEL_VERSION_BUILD_STR
205 #define HOST_OS REACTOS_COMPILER_NAME "-" REACTOS_COMPILER_VERSION
206
207 #endif