1 /* 2 * This file was originally generated by configure, but has been edited 3 * to provide the correct defines for the Native Win32 build under 4 * Visual Studio. 5 */ 6 /* ------------------------------------------------------------------------- */ 7 /* -- CONFIGURE SPECIFIED FEATURES -- */ 8 /* ------------------------------------------------------------------------- */ 9 10 #ifndef __MINGWCONFIG_H 11 #define __MINGWCONFIG_H 12 13 14 /* Define if you want SmartAlloc debug code enabled */ 15 #define SMARTALLOC 1 16 17 /* Define if you want to use Batch Mode */ 18 /* #define HAVE_BATCH_FILE_INSERT 1 */ 19 20 /* Define if you need function prototypes */ 21 #define PROTOTYPES 1 22 23 /* Define if you have GCC */ 24 #define HAVE_GCC 1 25 26 /* Define to 1 if struct utimbuf exists. */ 27 #define HAVE_STRUCT_UTIMBUF 1 28 29 /* Data types */ 30 #define HAVE_U_INT 1 31 #define HAVE_INTXX_T 1 32 #define HAVE_U_INTXX_T 1 33 /* #undef HAVE_UINTXX_T */ 34 #define HAVE_INT64_T 1 35 #define HAVE_U_INT64_T 1 36 #define HAVE_UINT64_T 1 37 #define HAVE_INTMAX_T 1 38 /* #undef HAVE_U_INTMAX_T */ 39 #define HAVE_UINTPTR_T 1 40 #define HAVE_INTPTR_T 1 41 42 /* Define if you want TCP Wrappers support */ 43 /* #undef HAVE_LIBWRAP */ 44 45 /* Define if you have sys/bitypes.h */ 46 /* #undef HAVE_SYS_BITYPES_H */ 47 48 /* Define if you have zlib */ 49 /* #define HAVE_LIBZ 1 */ 50 51 /* File daemon specif libraries */ 52 #define FDLIBS 1 53 54 55 /* What kind of signals we have */ 56 /*#define HAVE_POSIX_SIGNALS 1 */ 57 /* #undef HAVE_BSD_SIGNALS */ 58 /* #undef HAVE_USG_SIGHOLD */ 59 60 61 /* Set to correct scanf value for long long int */ 62 #define lld "lld" 63 #define llu "llu" 64 /* #define USE_BSNPRINTF */ 65 66 #define HAVE_STRTOLL 1 67 68 /* Define to 1 if you have `alloca', as a function or macro. */ 69 #define HAVE_ALLOCA 1 70 71 /* Define to 1 if librsync supports RS_BLAKE2_SIG_MAGIC */ 72 #define HAVE_BLAKE2 1 73 74 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. 75 */ 76 #define HAVE_DIRENT_H 1 77 78 /* Define to 1 if you have the <fcntl.h> header file. */ 79 #define HAVE_FCNTL_H 1 80 81 /* Define to 1 if you have the `getcwd' function. */ 82 #define HAVE_GETCWD 1 83 84 /* Define to 1 if you have the `gethostid' function. */ 85 #define HAVE_GETHOSTID 1 86 87 /* Define to 1 if you have the `gethostname' function. */ 88 #define HAVE_GETHOSTNAME 1 89 90 /* Define to 1 if you have the `getmntent' function. */ 91 /*#define HAVE_GETMNTENT 1 */ 92 93 /* Define to 1 if you have the `getpid' function. */ 94 #define HAVE_GETPID 1 95 #define getpid _getpid 96 97 /* Define to 1 if you have the `gettimeofday' function. */ 98 #define HAVE_GETTIMEOFDAY 1 99 100 /* Define to 1 if you have the <grp.h> header file. */ 101 /*#define HAVE_GRP_H 1*/ 102 103 /* Define to 1 if you have the `inet_pton' function. */ 104 /* #undef HAVE_INET_PTON */ 105 106 /* Define to 1 if you have the <inttypes.h> header file. */ 107 #define HAVE_INTTYPES_H 1 108 109 /* Define to 1 if you have the `lchown' function. */ 110 #define HAVE_LCHOWN 1 111 112 /* Define to 1 if you have the <limits.h> header file. */ 113 #define HAVE_LIMITS_H 1 114 115 /* Define to 1 if you have the `localtime_r' function. */ 116 #define HAVE_LOCALTIME_R 1 117 118 /* Define to 1 if you have the `lstat' function. */ 119 #define HAVE_LSTAT 1 120 121 /* Define to 1 if you have the <memory.h> header file. */ 122 #define HAVE_MEMORY_H 1 123 124 /* Define to 1 if you have the <mtio.h> header file. */ 125 /* #undef HAVE_MTIO_H */ 126 127 /* Define to 1 if you have the `nanosleep' function. */ 128 #define HAVE_NANOSLEEP 1 129 130 /* Define to 1 if you have the <pwd.h> header file. */ 131 /*#define HAVE_PWD_H 1*/ 132 133 /* Define to 1 if you have the <resolv.h> header file. */ 134 /*#define HAVE_RESOLV_H 1*/ 135 136 /* Define to 1 if you have the `select' function. */ 137 #define HAVE_SELECT 1 138 139 /* Define to 1 if you have the `setenv' function. */ 140 #define HAVE_SETENV 1 141 142 /* Define to 1 if you have the `setlocale' function. */ 143 #undef HAVE_SETLOCALE 144 145 /* Define to 1 if translation of program messages to the user's native 146 language is requested. */ 147 #if (defined _MSC_VER) && (_MSC_VER >= 1400) // VC8+ 148 /* Enable NLS only if we are using the new VC++. 149 * NLS should also work with VC++ 7.1, but the Makefiles are 150 * not adapted to support it (include, lib...). */ 151 #define ENABLE_NLS 1 152 #endif 153 154 #undef LOCALEDIR 155 #define LOCALEDIR "." 156 157 #undef HAVE_NL_LANGINFO 158 159 /* Define to 1 if you have the `setpgid' function. */ 160 #define HAVE_SETPGID 1 161 162 /* Define to 1 if you have the `setpgrp' function. */ 163 #define HAVE_SETPGRP 1 164 165 /* Define to 1 if you have the `setsid' function. */ 166 #define HAVE_SETSID 1 167 168 /* Define to 1 if you have the `signal' function. */ 169 /*#define HAVE_SIGNAL 1 */ 170 171 /* Define to 1 if you have the `snprintf' function. */ 172 #define HAVE_SNPRINTF 1 173 174 /* Define to 1 if you have the <stdarg.h> header file. */ 175 #define HAVE_STDARG_H 1 176 177 /* Define to 1 if you have the <stdint.h> header file. */ 178 #define HAVE_STDINT_H 1 179 180 /* Define to 1 if you have the <stdlib.h> header file. */ 181 #define HAVE_STDLIB_H 1 182 183 /* Define to 1 if you have the `strcasecmp' function. */ 184 #define HAVE_STRCASECMP 1 185 186 /* Define to 1 if you have the `strerror' function. */ 187 #define HAVE_STRERROR 1 188 189 /* Define to 1 if you have the `strerror_r' function. */ 190 #define HAVE_STRERROR_R 1 191 192 /* Define to 1 if you have the `strftime' function. */ 193 #define HAVE_STRFTIME 1 194 195 /* Define to 1 if you have the <strings.h> header file. */ 196 #define HAVE_STRINGS_H 1 197 198 /* Define to 1 if you have the <string.h> header file. */ 199 #define HAVE_STRING_H 1 200 201 /* Define to 1 if you have the `strncmp' function. */ 202 #define HAVE_STRNCMP 1 203 204 /* Define to 1 if you have the `strncpy' function. */ 205 #define HAVE_STRNCPY 1 206 207 /* Define to 1 if you have the `strtoll' function. */ 208 #define HAVE_STRTOLL 1 209 210 /* Define to 1 if `st_blksize' is member of `struct stat'. */ 211 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 212 213 /* Define to 1 if `st_blocks' is member of `struct stat'. */ 214 #define HAVE_STRUCT_STAT_ST_BLOCKS 1 215 216 /* Define to 1 if `st_rdev' is member of `struct stat'. */ 217 #define HAVE_STRUCT_STAT_ST_RDEV 1 218 219 /* Define to 1 if `tm_zone' is member of `struct tm'. */ 220 /* #undef HAVE_STRUCT_TM_TM_ZONE */ 221 222 /* Define to 1 if your `struct stat' has `st_blksize'. Deprecated, use 223 `HAVE_STRUCT_STAT_ST_BLKSIZE' instead. */ 224 #define HAVE_ST_BLKSIZE 1 225 226 /* Define to 1 if your `struct stat' has `st_blocks'. Deprecated, use 227 `HAVE_STRUCT_STAT_ST_BLOCKS' instead. */ 228 #define HAVE_ST_BLOCKS 1 229 230 /* Define to 1 if your `struct stat' has `st_rdev'. Deprecated, use 231 `HAVE_STRUCT_STAT_ST_RDEV' instead. */ 232 #define HAVE_ST_RDEV 1 233 234 /* Define to 1 if you have the <sys/byteorder.h> header file. */ 235 /* #undef HAVE_SYS_BYTEORDER_H */ 236 237 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. 238 */ 239 /* #undef HAVE_SYS_DIR_H */ 240 241 /* Define to 1 if you have the <sys/ioctl.h> header file. */ 242 #define HAVE_SYS_IOCTL_H 1 243 244 /* Define to 1 if you have the <sys/mtio.h> header file. */ 245 #define HAVE_SYS_MTIO_H 1 246 247 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. 248 */ 249 /* #undef HAVE_SYS_NDIR_H */ 250 251 /* Define to 1 if you have the <sys/select.h> header file. */ 252 #define HAVE_SYS_SELECT_H 1 253 254 /* Define to 1 if you have the <sys/socket.h> header file. */ 255 #define HAVE_SYS_SOCKET_H 1 256 257 /* Define to 1 if you have the <sys/sockio.h> header file. */ 258 /* #undef HAVE_SYS_SOCKIO_H */ 259 260 /* Define to 1 if you have the <sys/stat.h> header file. */ 261 #define HAVE_SYS_STAT_H 1 262 263 /* Define to 1 if you have the <sys/time.h> header file. */ 264 #define HAVE_SYS_TIME_H 1 265 266 /* Define to 1 if you have the <sys/types.h> header file. */ 267 #define HAVE_SYS_TYPES_H 1 268 269 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ 270 #define HAVE_SYS_WAIT_H 1 271 272 /* Define to 1 if you have the `tcgetattr' function. */ 273 #define HAVE_TCGETATTR 1 274 275 /* Define to 1 if you have the <termios.h> header file. */ 276 #define HAVE_TERMIOS_H 1 277 278 /* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use 279 `HAVE_STRUCT_TM_TM_ZONE' instead. */ 280 /* #undef HAVE_TM_ZONE */ 281 282 /* Define to 1 if you don't have `tm_zone' but do have the external array 283 `tzname'. */ 284 #define HAVE_TZNAME 1 285 286 /* Define to 1 if you have the <unistd.h> header file. */ 287 #define HAVE_UNISTD_H 1 288 289 /* Define to 1 if you have the <varargs.h> header file. */ 290 /* #undef HAVE_VARARGS_H */ 291 292 /* Define to 1 if you have the `vfprintf' function. */ 293 #define HAVE_VFPRINTF 1 294 295 /* Define to 1 if you have the `vprintf' function. */ 296 #define HAVE_VPRINTF 1 297 298 /* Define to 1 if you have the `vsnprintf' function. */ 299 #define HAVE_VSNPRINTF 1 300 301 /* Define to 1 if you have the <zlib.h> header file. */ 302 /* #define HAVE_ZLIB_H 1 */ 303 304 /* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>. 305 */ 306 /* #undef MAJOR_IN_MKDEV */ 307 308 /* Define to 1 if `major', `minor', and `makedev' are declared in 309 <sysmacros.h>. */ 310 /* #undef MAJOR_IN_SYSMACROS */ 311 312 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ 313 /* #undef NO_MINUS_C_MINUS_O */ 314 315 /* Define as the return type of signal handlers (`int' or `void'). */ 316 #define RETSIGTYPE void 317 318 /* Define to 1 if the `setpgrp' function takes no argument. */ 319 #define SETPGRP_VOID 1 320 321 /* The size of a `char', as computed by sizeof. */ 322 #define SIZEOF_CHAR 1 323 324 /* The size of a `int', as computed by sizeof. */ 325 #define SIZEOF_INT 4 326 327 /* The size of a `int *', as computed by sizeof. */ 328 #define SIZEOF_INT_P 4 329 330 /* The size of a `long int', as computed by sizeof. */ 331 #define SIZEOF_LONG_INT 4 332 333 /* The size of a `long long int', as computed by sizeof. */ 334 #define SIZEOF_LONG_LONG_INT 8 335 336 /* The size of a `short int', as computed by sizeof. */ 337 #define SIZEOF_SHORT_INT 2 338 339 /* If using the C implementation of alloca, define if you know the 340 direction of stack growth for your system; otherwise it will be 341 automatically deduced at run-time. 342 STACK_DIRECTION > 0 => grows toward higher addresses 343 STACK_DIRECTION < 0 => grows toward lower addresses 344 STACK_DIRECTION = 0 => direction of growth unknown */ 345 /* #undef STACK_DIRECTION */ 346 347 348 /* Define to 1 if you have the ANSI C header files. */ 349 #define STDC_HEADERS 1 350 351 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 352 #define TIME_WITH_SYS_TIME 1 353 354 /* Define to 1 if your <sys/time.h> declares `struct tm'. */ 355 /* #undef TM_IN_SYS_TIME */ 356 357 358 #endif /* __MINGWNCONFIG_H */ 359