| [1729] | 1 | /* |
|---|
| 2 | * zzuf - general purpose fuzzer |
|---|
| [4006] | 3 | * Copyright (c) 2006-2009 Sam Hocevar <sam@hocevar.net> |
|---|
| [1729] | 4 | * All Rights Reserved |
|---|
| 5 | * |
|---|
| 6 | * $Id: timer.h 192 2007-01-12 15:47:48Z sam $ |
|---|
| 7 | * |
|---|
| 8 | * This program is free software. It comes without any warranty, to |
|---|
| 9 | * the extent permitted by applicable law. You can redistribute it |
|---|
| 10 | * and/or modify it under the terms of the Do What The Fuck You Want |
|---|
| 11 | * To Public License, Version 2, as published by Sam Hocevar. See |
|---|
| 12 | * http://sam.zoy.org/wtfpl/COPYING for more details. |
|---|
| 13 | */ |
|---|
| 14 | |
|---|
| 15 | /* |
|---|
| 16 | * config.h: MSVC-specific configuration file |
|---|
| 17 | */ |
|---|
| 18 | |
|---|
| [3933] | 19 | #define ATTRIBUTE_PRINTF(x,y) |
|---|
| 20 | |
|---|
| [4031] | 21 | #define FILE_BASE /* FIXME */ |
|---|
| [3982] | 22 | #define FILE_CNT _cnt |
|---|
| 23 | #define FILE_PTR _ptr |
|---|
| 24 | #define FPOS_CAST(x) (x) |
|---|
| 25 | #define HAVE_ACCEPT 1 |
|---|
| 26 | /* #undef HAVE_AIO_H */ |
|---|
| 27 | /* #undef HAVE_AIO_READ */ |
|---|
| 28 | /* #undef HAVE_ARPA_INET_H */ |
|---|
| 29 | #define HAVE_BIND 1 |
|---|
| 30 | #define HAVE_CONNECT 1 |
|---|
| 31 | /* #undef HAVE_DLFCN_H */ |
|---|
| 32 | #define HAVE_DUP 1 |
|---|
| 33 | #define HAVE_DUP2 1 |
|---|
| 34 | /* #undef HAVE_ENDIAN_H */ |
|---|
| 35 | /* #undef HAVE_FGETC_UNLOCKED */ |
|---|
| 36 | /* #undef HAVE_FGETLN */ |
|---|
| 37 | /* #undef HAVE_FGETS_UNLOCKED */ |
|---|
| 38 | #define HAVE_FOPEN64 1 |
|---|
| 39 | /* #undef HAVE_FORK */ |
|---|
| 40 | /* #undef HAVE_FREAD_UNLOCKED */ |
|---|
| 41 | /* #undef HAVE_FREOPEN64 */ |
|---|
| 42 | /* #undef HAVE_FSEEKO */ |
|---|
| [4100] | 43 | /* #undef HAVE_FSEEKO64 */ |
|---|
| [3982] | 44 | /* #undef HAVE_FSETPOS64 */ |
|---|
| [4041] | 45 | /* #undef HAVE_FTELLO */ |
|---|
| [4100] | 46 | /* #undef HAVE_FTELLO64 */ |
|---|
| [3982] | 47 | /* #undef HAVE_GETCHAR_UNLOCKED */ |
|---|
| 48 | /* #undef HAVE_GETC_UNLOCKED */ |
|---|
| 49 | /* #undef HAVE_GETDELIM */ |
|---|
| 50 | /* #undef HAVE_GETLINE */ |
|---|
| [4100] | 51 | /* #undef HAVE_GETOPT_H */ |
|---|
| 52 | /* #undef HAVE_GETOPT_LONG */ |
|---|
| [3982] | 53 | #define HAVE_GETPAGESIZE 1 |
|---|
| [4100] | 54 | /* #undef HAVE_GETTIMEOFDAY */ |
|---|
| [4011] | 55 | /* #undef HAVE_GLIBC_FP */ |
|---|
| [3982] | 56 | #define HAVE_INTTYPES_H 1 |
|---|
| [3979] | 57 | #define HAVE_IO_H 1 |
|---|
| [3982] | 58 | /* #undef HAVE_KILL */ |
|---|
| 59 | /* #undef HAVE_LIBC_H */ |
|---|
| [4100] | 60 | /* #undef HAVE_LSEEK64 */ |
|---|
| [3982] | 61 | #define HAVE_MALLOC_H 1 |
|---|
| 62 | /* #undef HAVE_MAP_FD */ |
|---|
| 63 | /* #undef HAVE_MEMALIGN */ |
|---|
| 64 | #define HAVE_MEMORY_H 1 |
|---|
| 65 | /* #undef HAVE_MMAP */ |
|---|
| 66 | /* #undef HAVE_MMAP64 */ |
|---|
| 67 | /* #undef HAVE_NETINET_IN_H */ |
|---|
| 68 | /* #undef HAVE_OPEN64 */ |
|---|
| 69 | /* #undef HAVE_PIPE */ |
|---|
| 70 | /* #undef HAVE_POSIX_MEMALIGN */ |
|---|
| 71 | #define HAVE_PRAGMA_INIT 1 |
|---|
| 72 | /* #undef HAVE_PREAD */ |
|---|
| [3979] | 73 | #define HAVE_PROCESS_H 1 |
|---|
| [3982] | 74 | /* #undef HAVE_READV */ |
|---|
| 75 | #define HAVE_RECV 1 |
|---|
| 76 | #define HAVE_RECVFROM 1 |
|---|
| 77 | /* #undef HAVE_RECVMSG */ |
|---|
| 78 | /* #undef HAVE_REGEX_H */ |
|---|
| 79 | /* #undef HAVE_SETENV */ |
|---|
| 80 | /* #undef HAVE_SETRLIMIT */ |
|---|
| 81 | /* #undef HAVE_SIGACTION */ |
|---|
| 82 | /* #undef HAVE_SIGHANDLER_T */ |
|---|
| 83 | /* #undef HAVE_SIG_T */ |
|---|
| 84 | #define HAVE_SOCKET 1 |
|---|
| 85 | /* #undef HAVE_SOCKLEN_T */ |
|---|
| 86 | #define HAVE_STDINT_H 1 |
|---|
| 87 | #define HAVE_STDLIB_H 1 |
|---|
| 88 | #define HAVE_STRINGS_H 1 |
|---|
| 89 | #define HAVE_STRING_H 1 |
|---|
| 90 | /* #undef HAVE_SYS_CDEFS_H */ |
|---|
| 91 | /* #undef HAVE_SYS_MMAN_H */ |
|---|
| 92 | /* #undef HAVE_SYS_RESOURCE_H */ |
|---|
| 93 | /* #undef HAVE_SYS_SOCKET_H */ |
|---|
| 94 | #define HAVE_SYS_STAT_H 1 |
|---|
| [4100] | 95 | /* #undef HAVE_SYS_TIME_H */ |
|---|
| [3982] | 96 | #define HAVE_SYS_TYPES_H 1 |
|---|
| 97 | /* #undef HAVE_SYS_UIO_H */ |
|---|
| 98 | /* #undef HAVE_SYS_WAIT_H */ |
|---|
| [4100] | 99 | /* #undef HAVE_UNISTD_H */ |
|---|
| [3982] | 100 | /* #undef HAVE_VALLOC */ |
|---|
| 101 | /* #undef HAVE_WAITPID */ |
|---|
| [1729] | 102 | #define HAVE_WINDOWS_H 1 |
|---|
| 103 | #define HAVE_WINSOCK2_H 1 |
|---|
| [3982] | 104 | /* #undef HAVE__IO_GETC */ |
|---|
| [1730] | 105 | #define HAVE__PIPE |
|---|
| [3982] | 106 | /* #undef HAVE___FILBUF */ |
|---|
| 107 | /* #undef HAVE___FOPEN64 */ |
|---|
| 108 | /* #undef HAVE___FREOPEN64 */ |
|---|
| 109 | /* #undef HAVE___FSEEKO64 */ |
|---|
| 110 | /* #undef HAVE___FSETPOS64 */ |
|---|
| [4041] | 111 | /* #undef HAVE___FTELLO64 */ |
|---|
| [3982] | 112 | /* #undef HAVE___GETDELIM */ |
|---|
| 113 | /* #undef HAVE___LSEEK64 */ |
|---|
| 114 | /* #undef HAVE___OPEN64 */ |
|---|
| 115 | /* #undef HAVE___SREFILL */ |
|---|
| 116 | /* #undef HAVE___SRGET */ |
|---|
| [4006] | 117 | /* #undef HAVE___UFLOW */ |
|---|
| [3982] | 118 | #define LT_OBJDIR "" |
|---|
| 119 | /* #undef NO_MINUS_C_MINUS_O */ |
|---|
| 120 | #define PACKAGE_BUGREPORT "" |
|---|
| 121 | #define PACKAGE_NAME "zzuf" |
|---|
| 122 | #define PACKAGE_STRING "zzuf 0.12" |
|---|
| 123 | #define PACKAGE_TARNAME "zzuf" |
|---|
| 124 | #define PACKAGE_URL "" |
|---|
| 125 | #define PACKAGE_VERSION "0.12" |
|---|
| 126 | /* #undef READ_USES_SSIZE_T */ |
|---|
| 127 | #define RECV_T int |
|---|
| 128 | #define SONAME "libzzuf.dll" |
|---|
| 129 | #define STDC_HEADERS 1 |
|---|
| 130 | /* #undef __func__ */ |
|---|
| [1730] | 131 | |
|---|
| [4100] | 132 | /* Fucking Visual Studio should just shut the fuck up with this fucking |
|---|
| 133 | * warning about fucking ISO C++ when we fucking compile fucking C. */ |
|---|
| [4137] | 134 | #pragma warning(disable: 4996) |
|---|
| [4100] | 135 | |
|---|
| [1729] | 136 | /* Win32-specific, of course. */ |
|---|
| 137 | typedef signed long long int int64_t; |
|---|
| 138 | typedef unsigned long long int uint64_t; |
|---|
| 139 | typedef signed int int32_t; |
|---|
| 140 | typedef unsigned int uint32_t; |
|---|
| 141 | typedef signed short int16_t; |
|---|
| 142 | typedef unsigned short uint16_t; |
|---|
| 143 | typedef signed char int8_t; |
|---|
| 144 | typedef unsigned char uint8_t; |
|---|
| 145 | |
|---|
| [1736] | 146 | #include <stddef.h> /* Has uintptr_t etc. */ |
|---|
| [1729] | 147 | typedef int pid_t; |
|---|
| 148 | |
|---|
| 149 | #define inline /* undefined */ |
|---|
| 150 | #define __attribute__(x) /* undefined */ |
|---|
| [2562] | 151 | #define __func__ __FUNCTION__ |
|---|
| [1729] | 152 | |
|---|
| 153 | #define STDOUT_FILENO 1 |
|---|
| [2534] | 154 | #define STDERR_FILENO 2 |
|---|