1 /* orconfig.h for Windows -- This file is *not* generated by autoconf.
2 * Instead, it has to be hand-edited to keep Win32 happy.
5 /* Windows-only defines. */
8 /* Define to 1 if you have the <arpa/inet.h> header file. */
9 #undef HAVE_ARPA_INET_H
11 /* Define to 1 if you have the <assert.h> header file. */
14 /* Define to 1 if you have the <ctype.h> header file. */
17 /* Define to 1 if you have the <errno.h> header file. */
20 /* Define to 1 if you have the <fcntl.h> header file. */
23 /* Define to 1 if you have the `ftime' function. */
26 /* Define to 1 if you have the `gettimeofday' function. */
27 #undef HAVE_GETTIMEOFDAY
29 /* Define to 1 if you have the <grp.h> header file. */
32 /* Define to 1 if you have the `inet_aton' function. */
35 /* Define to 1 if you have the <inttypes.h> header file. */
36 /* #define HAVE_INTTYPES_H */
38 /* Define to 1 if you have the <limits.h> header file. */
41 /* Define to 1 if you have the <machine/limits.h> header file. */
42 #undef HAVE_MACHINE_LIMITS_H
44 /* Define to 1 if you have the <memory.h> header file. */
47 /* Define to 1 if you have the <netdb.h> header file. */
50 /* Define to 1 if you have the <netinet/in.h> header file. */
51 #undef HAVE_NETINET_IN_H
53 /* Define to 1 if you have the <poll.h> header file. */
56 /* Define to 1 if you have the <pwd.h> header file. */
59 /* Define to 1 if you have the <signal.h> header file. */
62 /* Define to 1 if you have the `socketpair' function. */
63 #undef HAVE_SOCKETPAIR
65 /* Define to 1 if you have the <stdint.h> header file. */
68 /* Define to 1 if you have the <stdlib.h> header file. */
71 /* Define to 1 if you have the <strings.h> header file. */
74 /* Define to 1 if you have the <string.h> header file. */
77 /* Define to 1 if you have the `strlcat' function. */
80 /* Define to 1 if you have the `strlcpy' function. */
83 /* Define to 1 if you have the `strptime' function. */
86 /* Define to 1 if your timeval has a tv_sec element. */
87 #define HAVE_STRUCT_TIMEVAL_TV_SEC
88 /* Change to #undef if you're using BCC */
90 /* Define to 1 if you have the <sys/fcntl.h> header file. */
91 #undef HAVE_SYS_FCNTL_H
93 /* Define to 1 if you have the <sys/ioctl.h> header file. */
94 #undef HAVE_SYS_IOCTL_H
96 /* Define to 1 if you have the <sys/limits.h> header file. */
97 #undef HAVE_SYS_LIMITS_H
99 /* Define to 1 if you have the <sys/poll.h> header file. */
100 #undef HAVE_SYS_POLL_H
102 /* Define to 1 if you have the <sys/socket.h> header file. */
103 #undef HAVE_SYS_SOCKET_H
106 /* Define to 1 if you have the <sys/stat.h> header file. */
107 #define HAVE_SYS_STAT_H
109 /* Define to 1 if you have the <sys/time.h> header file. */
110 #undef HAVE_SYS_TIME_H
112 /* Define to 1 if you have the <sys/types.h> header file. */
113 #define HAVE_SYS_TYPES_H
115 /* Define to 1 if you have the <sys/utime.h> header file. */
116 #define HAVE_SYS_UTIME_H
118 /* Define to 1 if you have the <sys/wait.h> header file. */
119 #undef HAVE_SYS_WAIT_H
121 /* Define to 1 if you have the <time.h> header file. */
124 /* Define to 1 if you have the `uname' function. */
127 /* Define to 1 if you have the <unistd.h> header file. */
130 /* Define to 1 if you have the `_vscprintf' function. */
131 #define HAVE__VSCPRINTF 1
133 /* Define to 1 iff NULL is represented by a 0 in memory. */
134 #define NULL_REP_IS_ZERO_BYTES 1
136 /* Define to 1 iff memset(0) sets doubles to 0.0 */
137 #define DOUBLE_0_REP_IS_ZERO_BYTES 1
139 /* Name of package */
140 #define PACKAGE "tor"
142 /* Define to the address where bug reports for this package should be sent. */
143 #undef PACKAGE_BUGREPORT
145 /* Define to the full name of this package. */
148 /* Define to the full name and version of this package. */
149 #undef PACKAGE_STRING
151 /* Define to the one symbol short name of this package. */
152 #undef PACKAGE_TARNAME
154 /* Define to the version of this package. */
155 #undef PACKAGE_VERSION
157 /* The size of a `char', as computed by sizeof. */
158 #define SIZEOF_CHAR 1
160 /* The size of a `int', as computed by sizeof. */
163 /* The size of a `int16_t', as computed by sizeof. */
164 #undef SIZEOF_INT16_T
166 /* The size of a `int32_t', as computed by sizeof. */
167 #undef SIZEOF_INT32_T
169 /* The size of a `int64_t', as computed by sizeof. */
170 #undef SIZEOF_INT64_T
172 /* The size of a `int8_t', as computed by sizeof. */
175 /* The size of a `long', as computed by sizeof. */
176 #define SIZEOF_LONG 4
178 /* The size of a `long long', as computed by sizeof. */
179 #undef SIZEOF_LONG_LONG
181 /* The size of `pid_t', as computed by sizeof. */
182 #define SIZEOF_PID_T 0
184 /* The size of a `short', as computed by sizeof. */
185 #define SIZEOF_SHORT 2
187 /* The size of a `time_t', as computed by sizeof. */
188 #define SIZEOF_TIME_T 4
190 /* The size of a `uint16_t', as computed by sizeof. */
191 #undef SIZEOF_UINT16_T
193 /* The size of a `uint32_t', as computed by sizeof. */
194 #undef SIZEOF_UINT32_T
196 /* The size of a `uint64_t', as computed by sizeof. */
197 #undef SIZEOF_UINT64_T
199 /* The size of a `uint8_t', as computed by sizeof. */
200 #undef SIZEOF_UINT8_T
202 /* The size of a `void *', as computed by sizeof. */
203 #define SIZEOF_VOID_P 4
205 /* The size of a `__int64', as computed by sizeof. */
206 #define SIZEOF___INT64 8
208 /* The sizeof a size_t, as computed by sizeof. */
209 #define SIZEOF_SIZE_T 4
211 /* Define to 1 if you have the ANSI C header files. */
214 /* Define to 1 iff unaligned int access is allowed */
215 #define UNALIGNED_INT_ACCESS_OK
217 /* Define to 1 iff we represent negative integers with two's complement */
218 #define USING_TWOS_COMPLEMENT
220 /* Version number of package */
221 #define VERSION "0.3.3.12"
225 #define HAVE_STRUCT_SOCKADDR_IN6
226 #define HAVE_STRUCT_IN6_ADDR
227 #define RSHIFT_DOES_SIGN_EXTEND
228 #define FLEXIBLE_ARRAY_MEMBER 0
229 #define SHARE_DATADIR ""
230 #define USE_CURVE25519_DONNA
232 #define ENUM_VALS_ARE_SIGNED 1
234 #ifndef STDOUT_FILENO
235 #define STDOUT_FILENO 1
238 #ifndef STDERR_FILENO
239 #define STDERR_FILENO 2
242 #define WINVER 0x0501
243 #define _WIN32_WINNT 0x0501
244 #define WIN32_LEAN_AND_MEAN 1