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
105 /* Define to 1 if you have the <sys/stat.h> header file. */
106 #define HAVE_SYS_STAT_H
108 /* Define to 1 if you have the <sys/time.h> header file. */
109 #undef HAVE_SYS_TIME_H
111 /* Define to 1 if you have the <sys/types.h> header file. */
112 #define HAVE_SYS_TYPES_H
114 /* Define to 1 if you have the <sys/utime.h> header file. */
115 #define HAVE_SYS_UTIME_H
117 /* Define to 1 if you have the <sys/wait.h> header file. */
118 #undef HAVE_SYS_WAIT_H
120 /* Define to 1 if you have the <time.h> header file. */
123 /* Define to 1 if you have the `uname' function. */
126 /* Define to 1 if you have the <unistd.h> header file. */
129 /* Define to 1 if you have the `_vscprintf' function. */
130 #define HAVE__VSCPRINTF 1
132 /* Define to 1 iff NULL is represented by a 0 in memory. */
133 #define NULL_REP_IS_ZERO_BYTES 1
135 /* Define to 1 iff memset(0) sets doubles to 0.0 */
136 #define DOUBLE_0_REP_IS_ZERO_BYTES 1
138 /* Name of package */
139 #define PACKAGE "tor"
141 /* Define to the address where bug reports for this package should be sent. */
142 #undef PACKAGE_BUGREPORT
144 /* Define to the full name of this package. */
147 /* Define to the full name and version of this package. */
148 #undef PACKAGE_STRING
150 /* Define to the one symbol short name of this package. */
151 #undef PACKAGE_TARNAME
153 /* Define to the version of this package. */
154 #undef PACKAGE_VERSION
156 /* The size of a `char', as computed by sizeof. */
157 #define SIZEOF_CHAR 1
159 /* The size of a `int', as computed by sizeof. */
162 /* The size of a `int16_t', as computed by sizeof. */
163 #undef SIZEOF_INT16_T
165 /* The size of a `int32_t', as computed by sizeof. */
166 #undef SIZEOF_INT32_T
168 /* The size of a `int64_t', as computed by sizeof. */
169 #undef SIZEOF_INT64_T
171 /* The size of a `int8_t', as computed by sizeof. */
174 /* The size of a `long', as computed by sizeof. */
175 #define SIZEOF_LONG 4
177 /* The size of a `long long', as computed by sizeof. */
178 #undef SIZEOF_LONG_LONG
180 /* The size of `pid_t', as computed by sizeof. */
181 #define SIZEOF_PID_T 0
183 /* The size of a `short', as computed by sizeof. */
184 #define SIZEOF_SHORT 2
186 /* The size of a `time_t', as computed by sizeof. */
187 #define SIZEOF_TIME_T 4
189 /* The size of a `uint16_t', as computed by sizeof. */
190 #undef SIZEOF_UINT16_T
192 /* The size of a `uint32_t', as computed by sizeof. */
193 #undef SIZEOF_UINT32_T
195 /* The size of a `uint64_t', as computed by sizeof. */
196 #undef SIZEOF_UINT64_T
198 /* The size of a `uint8_t', as computed by sizeof. */
199 #undef SIZEOF_UINT8_T
201 /* The size of a `void *', as computed by sizeof. */
202 #define SIZEOF_VOID_P 4
204 /* The size of a `__int64', as computed by sizeof. */
205 #define SIZEOF___INT64 8
207 /* The sizeof a size_t, as computed by sizeof. */
208 #define SIZEOF_SIZE_T 4
210 /* Define to 1 if you have the ANSI C header files. */
213 /* Define to 1 iff unaligned int access is allowed */
214 #define UNALIGNED_INT_ACCESS_OK
216 /* Define to 1 iff we represent negative integers with two's complement */
217 #define USING_TWOS_COMPLEMENT
219 /* Version number of package */
220 #define VERSION "0.4.7.3-alpha"
222 #define HAVE_STRUCT_SOCKADDR_IN6
223 #define HAVE_STRUCT_IN6_ADDR
224 #define RSHIFT_DOES_SIGN_EXTEND
225 #define FLEXIBLE_ARRAY_MEMBER 0
226 #define SHARE_DATADIR ""
227 #define USE_CURVE25519_DONNA
229 #define ENUM_VALS_ARE_SIGNED 1
231 #ifndef STDOUT_FILENO
232 #define STDOUT_FILENO 1
235 #ifndef STDERR_FILENO
236 #define STDERR_FILENO 2
239 #define WINVER 0x0501
240 #define _WIN32_WINNT 0x0501
241 #define WIN32_LEAN_AND_MEAN 1