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 ENABLE_THREADS
19 /* Define to 1 if you have the <errno.h> header file. */
22 /* Define to 1 if you have the `event_get_method' function. */
23 #define HAVE_EVENT_GET_METHOD 1
25 /* Define to 1 if you have the `event_get_version' function. */
26 #define HAVE_EVENT_GET_VERSION 1
28 /* Define to 1 if you have the `event_set_log_callback' function. */
29 #define HAVE_EVENT_SET_LOG_CALLBACK 1
31 /* Define to 1 if you have the <fcntl.h> header file. */
34 /* Define to 1 if you have the `ftime' function. */
37 /* Define to 1 if you have the `gettimeofday' function. */
38 #undef HAVE_GETTIMEOFDAY
40 /* Define to 1 if you have the <grp.h> header file. */
43 /* Define to 1 if you have the `inet_aton' function. */
46 /* Define to 1 if you have the <inttypes.h> header file. */
47 /* #define HAVE_INTTYPES_H */
49 /* Define to 1 if you have the <limits.h> header file. */
52 /* Define to 1 if you have the <machine/limits.h> header file. */
53 #undef HAVE_MACHINE_LIMITS_H
55 /* Define to 1 if you have the <memory.h> header file. */
58 /* Define to 1 if you have the <netdb.h> header file. */
61 /* Define to 1 if you have the <netinet/in.h> header file. */
62 #undef HAVE_NETINET_IN_H
64 /* Define to 1 if you have the <poll.h> header file. */
67 /* Define to 1 if you have the <pwd.h> header file. */
70 /* Define to 1 if you have the <signal.h> header file. */
73 /* Define to 1 if you have the `socketpair' function. */
74 #undef HAVE_SOCKETPAIR
76 /* Define to 1 if you have the <stdint.h> header file. */
79 /* Define to 1 if you have the <stdlib.h> header file. */
82 /* Define to 1 if you have the <strings.h> header file. */
85 /* Define to 1 if you have the <string.h> header file. */
88 /* Define to 1 if you have the `strlcat' function. */
95 /* Define to 1 if you have the `strlcpy' function. */
101 /* Define to 1 if you have the `strptime' function. */
104 /* Define to 1 if your timeval has a tv_sec element. */
105 #define HAVE_STRUCT_TIMEVAL_TV_SEC
106 /* Change to #undef if you're using BCC */
108 /* Define to 1 if you have the <sys/fcntl.h> header file. */
109 #undef HAVE_SYS_FCNTL_H
111 /* Define to 1 if you have the <sys/ioctl.h> header file. */
112 #undef HAVE_SYS_IOCTL_H
114 /* Define to 1 if you have the <sys/limits.h> header file. */
115 #undef HAVE_SYS_LIMITS_H
117 /* Define to 1 if you have the <sys/poll.h> header file. */
118 #undef HAVE_SYS_POLL_H
120 /* Define to 1 if you have the <sys/socket.h> header file. */
121 #undef HAVE_SYS_SOCKET_H
124 /* Define to 1 if you have the <sys/stat.h> header file. */
125 #define HAVE_SYS_STAT_H
127 /* Define to 1 if you have the <sys/time.h> header file. */
128 #undef HAVE_SYS_TIME_H
130 /* Define to 1 if you have the <sys/types.h> header file. */
131 #define HAVE_SYS_TYPES_H
133 /* Define to 1 if you have the <sys/utime.h> header file. */
134 #define HAVE_SYS_UTIME_H
136 /* Define to 1 if you have the <sys/wait.h> header file. */
137 #undef HAVE_SYS_WAIT_H
139 /* Define to 1 if you have the <time.h> header file. */
142 /* Define to 1 if you have the `uname' function. */
145 /* Define to 1 if you have the <unistd.h> header file. */
148 /* Define to 1 if you have the `_vscprintf' function. */
149 #define HAVE__VSCPRINTF 1
151 /* Define to 1 iff NULL is represented by a 0 in memory. */
152 #define NULL_REP_IS_ZERO_BYTES 1
154 /* Define to 1 iff memset(0) sets doubles to 0.0 */
155 #define DOUBLE_0_REP_IS_ZERO_BYTES 1
157 /* Name of package */
158 #define PACKAGE "tor"
160 /* Define to the address where bug reports for this package should be sent. */
161 #undef PACKAGE_BUGREPORT
163 /* Define to the full name of this package. */
166 /* Define to the full name and version of this package. */
167 #undef PACKAGE_STRING
169 /* Define to the one symbol short name of this package. */
170 #undef PACKAGE_TARNAME
172 /* Define to the version of this package. */
173 #undef PACKAGE_VERSION
175 /* The size of a `char', as computed by sizeof. */
176 #define SIZEOF_CHAR 1
178 /* The size of a `int', as computed by sizeof. */
181 /* The size of a `int16_t', as computed by sizeof. */
182 #undef SIZEOF_INT16_T
184 /* The size of a `int32_t', as computed by sizeof. */
185 #undef SIZEOF_INT32_T
187 /* The size of a `int64_t', as computed by sizeof. */
188 #undef SIZEOF_INT64_T
190 /* The size of a `int8_t', as computed by sizeof. */
193 /* The size of a `long', as computed by sizeof. */
194 #define SIZEOF_LONG 4
196 /* The size of a `long long', as computed by sizeof. */
197 #undef SIZEOF_LONG_LONG
199 /* The size of `pid_t', as computed by sizeof. */
200 #define SIZEOF_PID_T 0
202 /* The size of a `short', as computed by sizeof. */
203 #define SIZEOF_SHORT 2
205 /* The size of a `time_t', as computed by sizeof. */
206 #define SIZEOF_TIME_T 4
208 /* The size of a `uint16_t', as computed by sizeof. */
209 #undef SIZEOF_UINT16_T
211 /* The size of a `uint32_t', as computed by sizeof. */
212 #undef SIZEOF_UINT32_T
214 /* The size of a `uint64_t', as computed by sizeof. */
215 #undef SIZEOF_UINT64_T
217 /* The size of a `uint8_t', as computed by sizeof. */
218 #undef SIZEOF_UINT8_T
220 /* The size of a `void *', as computed by sizeof. */
221 #define SIZEOF_VOID_P 4
223 /* The size of a `__int64', as computed by sizeof. */
224 #define SIZEOF___INT64 8
226 /* The sizeof a size_t, as computed by sizeof. */
227 #define SIZEOF_SIZE_T 4
229 /* Define to 1 if you have the ANSI C header files. */
232 /* Define to 1 if time_t is signed. */
233 #define TIME_T_IS_SIGNED
235 /* Define to 1 iff unaligned int access is allowed */
236 #define UNALIGNED_INT_ACCESS_OK
240 /* Define to 1 iff we represent negative integers with two's complement */
241 #define USING_TWOS_COMPLEMENT
243 /* Version number of package */
244 #define VERSION "0.2.4.20"
248 #define HAVE_STRUCT_SOCKADDR_IN6
249 #define HAVE_STRUCT_IN6_ADDR
250 #define RSHIFT_DOES_SIGN_EXTEND
251 #define FLEXIBLE_ARRAY_MEMBER 0
252 #define HAVE_EVENT2_EVENT_H
253 #define SHARE_DATADIR ""
254 #define HAVE_EVENT2_DNS_H
255 #define HAVE_EVENT_BASE_LOOPEXIT
256 #define CURVE25519_ENABLED
257 #define USE_CURVE25519_DONNA
259 #define ENUM_VALS_ARE_SIGNED 1