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

Last change on this file since 3933 was 3933, checked in by Sam Hocevar, 9 years ago

Add a VS 2010 solution file and make the code build again for Win32.

File size: 1.3 KB
Line 
1/*
2 *  zzuf - general purpose fuzzer
3 *  Copyright (c) 2006, 2007 Sam Hocevar <sam@zoy.org>
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 PACKAGE_VERSION "0.7 (msvc)"
20#define SONAME "libzzuf.dll"
21
22#define ATTRIBUTE_PRINTF(x,y)
23
24#define HAVE_WINDOWS_H 1
25#define HAVE_WINSOCK2_H 1
26#define HAVE_IO_H 1
27#define HAVE_PROCESS_H 1
28
29#define HAVE__PIPE
30
31/* Win32-specific, of course. */
32typedef signed long long int int64_t;
33typedef unsigned long long int uint64_t;
34typedef signed int int32_t;
35typedef unsigned int uint32_t;
36typedef signed short int16_t;
37typedef unsigned short uint16_t;
38typedef signed char int8_t;
39typedef unsigned char uint8_t;
40
41#include <stddef.h> /* Has uintptr_t etc. */
42typedef int pid_t;
43
44#define inline /* undefined */
45#define __attribute__(x) /* undefined */
46#define __func__ __FUNCTION__
47
48#define STDOUT_FILENO 1
49#define STDERR_FILENO 2
Note: See TracBrowser for help on using the repository browser.