source: zzuf/trunk/msvc/config.h @ 4834

Last change on this file since 4834 was 4834, checked in by wisk, 8 years ago

add new hook for windows (CreateFileMapping?(A|W), MapViewOfFile?, ReadFileEx?), re-enable option -U, start to port network on windows

File size: 4.6 KB
Line 
1/*
2 *  zzuf - general purpose fuzzer
3 *  Copyright (c) 2006-2009 Sam Hocevar <sam@hocevar.net>
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
19#define ATTRIBUTE_PRINTF(x,y) /* */
20#define CONNECT_USES_STRUCT_SOCKADDR 1
21#define FPOS_CAST(x) (x)
22#define HAVE_ACCEPT 1
23/* #undef HAVE_AIO_H */
24/* #undef HAVE_AIO_READ */
25/* #undef HAVE_ARPA_INET_H */
26#define HAVE_BIND 1
27#define HAVE_CLOSEHANDLE 1
28#define HAVE_CONNECT 1
29#define HAVE_CREATEFILEA 1
30#define HAVE_CREATEFILEW 1
31#define HAVE_CREATEFILEMAPPINGA 1
32#define HAVE_CREATEFILEMAPPINGW 1
33#define HAVE_MAPVIEWOFFILE 1
34/* #undef HAVE_DLADDR */
35/* #undef HAVE_DLFCN_H */
36#define HAVE_DUP 1
37#define HAVE_DUP2 1
38/* #undef HAVE_ENDIAN_H */
39/* #undef HAVE_FGETC_UNLOCKED */
40/* #undef HAVE_FGETLN */
41/* #undef HAVE_FGETS_UNLOCKED */
42/* #undef HAVE_FOPEN64 */
43/* #undef HAVE_FORK */
44/* #undef HAVE_FREAD_UNLOCKED */
45/* #undef HAVE_FREEBSD_FILE */
46/* #undef HAVE_FREOPEN64 */
47/* #undef HAVE_FSEEKO */
48/* #undef HAVE_FSEEKO64 */
49/* #undef HAVE_FSETPOS64 */
50/* #undef HAVE_FTELLO */
51/* #undef HAVE_FTELLO64 */
52/* #undef HAVE_GETCHAR_UNLOCKED */
53/* #undef HAVE_GETC_UNLOCKED */
54/* #undef HAVE_GETDELIM */
55/* #undef HAVE_GETLINE */
56#define HAVE_GETPAGESIZE 1
57/* #undef HAVE_GETTIMEOFDAY */
58/* #undef HAVE_GLIBC_FILE */
59#define HAVE_INTTYPES_H 1
60#define HAVE_IO_H 1
61/* #undef HAVE_KILL */
62/* #undef HAVE_LIBC_H */
63/* #undef HAVE_LSEEK64 */
64/* #undef HAVE_MACH_TASK_H */
65#define HAVE_MALLOC_H 1
66/* #undef HAVE_MAP_FD */
67/* #undef HAVE_MEMALIGN */
68#define HAVE_MEMORY_H 1
69/* #undef HAVE_MMAP */
70/* #undef HAVE_MMAP64 */
71/* #undef HAVE_NETINET_IN_H */
72/* #undef HAVE_OPEN64 */
73/* #undef HAVE_PIPE */
74/* #undef HAVE_POSIX_MEMALIGN */
75/* #undef HAVE_PRAGMA_INIT */
76/* #undef HAVE_PREAD */
77#define HAVE_PROCESS_H 1
78#define HAVE_READFILE 1
79#define HAVE_READFILEEX 1
80/* #undef HAVE_READV */
81#define HAVE_RECV 1
82#define HAVE_RECVFROM 1
83/* #undef HAVE_RECVMSG */
84/* #undef HAVE_REGEX_H */
85#define HAVE_REGEX_H 1
86#define HAVE_REOPENFILE 1
87/* #undef HAVE_SETENV */
88/* #undef HAVE_SETRLIMIT */
89/* #undef HAVE_SIGACTION */
90/* #undef HAVE_SIGHANDLER_T */
91/* #undef HAVE_SIG_T */
92#define HAVE_SOCKET 1
93/* #undef HAVE_SOCKLEN_T */
94/* #undef HAVE_SOLARIS_FILE */
95#define HAVE_STDINT_H 1
96#define HAVE_STDLIB_H 1
97#define HAVE_STRINGS_H 1
98#define HAVE_STRING_H 1
99/* #undef HAVE_SYS_CDEFS_H */
100/* #undef HAVE_SYS_MMAN_H */
101/* #undef HAVE_SYS_RESOURCE_H */
102/* #undef HAVE_SYS_SOCKET_H */
103#define HAVE_SYS_STAT_H 1
104/* #undef HAVE_SYS_TIME_H */
105#define HAVE_SYS_TYPES_H 1
106/* #undef HAVE_SYS_UIO_H */
107/* #undef HAVE_SYS_WAIT_H */
108/* #undef HAVE_UNISTD_H */
109/* #undef HAVE_VALLOC */
110/* #undef HAVE_WAITPID */
111#define HAVE_WINDOWS_H 1
112#define HAVE_WINSOCK2_H 1
113/* #undef HAVE__IO_GETC */
114#define HAVE__PIPE 1
115/* #undef HAVE___FGETS_CHK */
116/* #undef HAVE___FGETS_UNLOCKED_CHK */
117/* #undef HAVE___FILBUF */
118/* #undef HAVE___FOPEN64 */
119/* #undef HAVE___FREAD_CHK */
120/* #undef HAVE___FREAD_UNLOCKED_CHK */
121/* #undef HAVE___FREOPEN64 */
122/* #undef HAVE___FSEEKO64 */
123/* #undef HAVE___FSETPOS64 */
124/* #undef HAVE___FTELLO64 */
125/* #undef HAVE___GETDELIM */
126/* #undef HAVE___LSEEK64 */
127/* #undef HAVE___OPEN64 */
128/* #undef HAVE___READ_CHK */
129/* #undef HAVE___RECVFROM_CHK */
130/* #undef HAVE___RECV_CHK */
131/* #undef HAVE___SREFILL */
132/* #undef HAVE___SRGET */
133/* #undef HAVE___UFLOW */
134#define LT_OBJDIR ""
135/* #undef NO_MINUS_C_MINUS_O */
136#define PACKAGE_BUGREPORT ""
137#define PACKAGE_NAME "zzuf"
138#define PACKAGE_STRING "zzuf 0.12"
139#define PACKAGE_TARNAME "zzuf"
140#define PACKAGE_URL ""
141#define PACKAGE_VERSION "0.12"
142/* #undef READ_USES_SSIZE_T */
143#define RECV_T int
144#define SONAME "libzzuf.dll"
145#define STDC_HEADERS 1
146/* #undef __func__ */
147
148/* Fucking Visual Studio should just shut the fuck up with this fucking
149 * warning about fucking ISO C++ when we fucking compile fucking C. */
150#pragma warning(disable: 4996)
151
152/* Win32-specific, of course. */
153typedef signed long long int int64_t;
154typedef unsigned long long int uint64_t;
155typedef signed int int32_t;
156typedef unsigned int uint32_t;
157typedef signed short int16_t;
158typedef unsigned short uint16_t;
159typedef signed char int8_t;
160typedef unsigned char uint8_t;
161
162#include <stddef.h> /* Has uintptr_t etc. */
163typedef int pid_t;
164
165#define inline /* undefined */
166#define __attribute__(x) /* undefined */
167#define __func__ __FUNCTION__
168
169#define STDOUT_FILENO 1
170#define STDERR_FILENO 2
Note: See TracBrowser for help on using the repository browser.