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