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

Last change on this file since 4839 was 4839, checked in by Sam Hocevar, 7 years ago

win32: add some console handling function diversions.

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