]> sjero.net Git - iperf/blob - include/config.win32.h
Original 2.0.2 iperf sources
[iperf] / include / config.win32.h
1 /* config.h.  Generated by hand for Windows. */
2 #ifndef CONFIG_H
3 #define CONFIG_H
4
5 /* ===================================================================
6  * config.h
7  *
8  * config.h is derived from config.h.in -- do not edit config.h
9  *
10  * This contains variables that the configure script checks and
11  * then defines or undefines. The source code checks for these
12  * variables to know if certain features are present.
13  * 
14  * by Mark Gates <mgates@nlanr.net>
15  *
16  * Copyright  1999  The Board of Trustees of the University of Illinois
17  * All rights reserved.  See doc/license.txt for complete text.
18  *
19  * $Id: config.win32.h,v 1.1.1.1 2004/05/18 01:50:44 kgibbs Exp $
20  * =================================================================== */
21
22 /* Define if threads exist (using pthreads or Win32 threads) */
23 /* #undef HAVE_POSIX_THREAD */
24 #define HAVE_WIN32_THREAD 1
25 /* #undef _REENTRANT */
26
27 /* Define if on OSF1 and need special extern "C" around some header files */
28 /* #undef SPECIAL_OSF1_EXTERN */
29
30 /* Define if the strings.h header file exists */
31 /* #undef HAVE_STRINGS_H */
32
33 /* Define the intXX_t, u_intXX_t, size_t, ssize_t, and socklen_t types */
34 /* On the Cray J90 there is no 4 byte integer, so we define int32_t
35  * but it is 8 bytes, and we leave HAVE_INT32_T undefined. */
36 #define SIZEOF_INT 4
37 #define HAVE_U_INT16_T 1
38 #define HAVE_INT32_T   1
39 #define HAVE_INT64_T   1
40 #define HAVE_U_INT32_T 1
41
42 #define int32_t     LONG32
43 #define u_int16_t   UINT16
44 #define u_int32_t   ULONG32
45 /* #undef  size_t */
46 #define ssize_t int
47
48 /* socklen_t usually defined in <sys/socket.h>. Unfortunately it doesn't
49  * work on some systems (like DEC OSF/1), so we'll use our own Socklen_t */
50 #define Socklen_t int
51
52 /* Define if you have these functions. */
53 #define HAVE_SNPRINTF 1
54 /* #undef HAVE_INET_PTON */
55 /* #undef HAVE_INET_NTOP */
56 /* #undef HAVE_GETTIMEOFDAY */
57 /* #undef HAVE_PTHREAD_CANCEL */
58 #define HAVE_USLEEP 1
59 /* #undef HAVE_QUAD_SUPPORT */
60 /* #undef HAVE_PRINTF_QD */
61
62 /* standard C++, which isn't always... */
63 /* #undef bool */
64 #define true   1
65 #define false  0
66
67 /* Define if the host is Big Endian (network byte order) */
68 /* #undef WORDS_BIGENDIAN */
69
70 /* Define if multicast support exists */
71 #define HAVE_MULTICAST 1
72
73 /* Define if all IPv6 headers/structures are present */
74 #define HAVE_IPV6 1
75
76 /* Define if IPv6 multicast support exists */
77 #define HAVE_IPV6_MULTICAST 1
78
79 /* Define if Debugging of sockets is desired */
80 /* #undef DBG_MJZ */
81  
82 #endif /* CONFIG_H */