PennMUSH Community

root/1.8.3/trunk/win32/config.h

Revision 1032, 4.0 kB (checked in by shawnw, 1 year ago)

Merged 1.8.3p4 into trunk

Line 
1 /* PennMUSH config.h. Autogenerated by ./configure */
2
3 #ifndef __CONFIG_H
4 #define __CONFIG_H
5
6 /* Headers */
7
8 #undef I_ARPA_INET
9
10 #undef I_ARPA_NAMESER
11
12 #define I_FCNTL
13
14 #undef I_FLOATINGPOINT
15
16 #undef I_LIBINTL
17
18 #define I_MALLOC
19
20 #undef I_NETDB
21
22 #undef I_NETINET_IN
23
24 #undef I_NETINET_TCP
25
26 #undef HAVE_STDINT_H
27
28 #undef I_SYS_ERRNO
29
30 #undef I_SYS_FILE
31
32 #undef I_SYS_IN
33
34 #undef I_SYS_MMAN
35
36  #undef I_SYS_PAGE
37
38 #undef I_SYS_PARAM
39
40 #undef I_SYS_SOCKET
41
42 #define I_SYS_STAT
43
44 #undef I_SYS_TIME
45
46 #undef TIME_WITH_SYS_TIME
47
48 #define I_SYS_TYPES
49
50 #undef HAVE_UNISTD_H
51
52 #ifdef HAVE_UNISTD_H
53 #define I_UNISTD
54 #endif
55
56 #undef HAVE_SYS_WAIT_H
57
58 #ifdef HAVE_SYS_WAIT_H
59 #define I_SYS_WAIT
60 #endif
61
62 #undef HAVE_IEEEFP_H
63
64 #undef HAVE_SYS_UN_H
65
66 #undef HAVE_SYS_EVENT_H
67
68 /* C99ish headers. The first two are really really nice to have. */
69
70 #undef HAVE_STDINT_H
71
72 #undef HAVE_INTTYPES_H
73
74 #undef HAVE_STDBOOL_H
75
76 /* Libraries */
77
78 #undef HAVE_MYSQL
79
80 #ifdef HAVE_MYSQL
81 #define HAS_MYSQL
82 #endif
83
84 #undef HAVE_POSTGRESQL
85
86 #undef HAVE_SQLITE3
87
88 #undef HAVE_SSL
89
90 #ifdef HAVE_SSL
91 #define HAS_OPENSSL
92 #endif
93
94 /* Types */
95
96 #undef HAVE__BOOL
97
98 #define socklen_t unsigned long
99
100 #define uint8_t unsigned __int8
101
102 #define uint16_t unsigned __int16
103
104 #define int32_t  __int32
105
106 #define uint32_t unsigned __int32
107
108 #define int64_t __int64
109
110 #define uint64_t unsigned __int64
111
112 #define intmax_t __int64
113 #define uintmax_t unsigned __int64
114
115 #define pid_t unsigned long
116
117 /* 4 */
118 #define SIZEOF_INT 4
119
120 /* 4 or 8 */
121 #define SIZEOF_LONG 4
122
123 /* 0 if no 64-bit type (We shouldn't be seeing that case) or 8. See below. */
124 #define SIZEOF_INT64_T 8
125
126 /* 8 on most modern CPUs Penn will be used on. They either have  64-bit
127 * words (amd64, sparc64, powerpc64) or support an extended 64-bit type (i386,
128 * powerpc32) */
129 #define SIZEOF_INTMAX_T 8
130
131 #define SIZEOF_TIME_T 4
132
133 /* 4 or 8 */
134 #define SIZEOF_VOID_P 4
135
136 /* Taken from autoconf manual */
137 #if HAVE_STDBOOL_H
138 # include <stdbool.h>
139 #else
140 # if ! HAVE__BOOL
141 #  ifdef __cplusplus
142 typedef bool _Bool;
143 #  else
144 #   define _Bool signed char
145 #  endif
146 # endif
147 # define bool _Bool
148 # define false 0
149 # define true 1
150 # define __bool_true_false_are_defined 1
151 #endif
152
153 typedef void* Malloc_t;
154 typedef void Free_t;
155
156 /* Functions */
157 #undef HAS_BINDTEXTDOMAIN
158
159 #undef HAVE_CBRT
160
161 #undef HAS_CRYPT
162
163 #undef HAS_FPSETMASK
164
165 #undef HAS_FPSETROUND
166
167 #undef HAS_GAI_STRERROR
168
169 #undef HAS_GETADDRINFO
170
171 #undef HAS_GETDATE
172
173 #undef HAS_GETHOSTBYNAME2
174
175 #undef HAS_GETNAMEINFO
176
177 #undef HAS_GETPAGESIZE
178
179 #undef HAS_GETRLIMIT
180
181 #undef HAS_GETRUSAGE
182
183 #undef HAS_GETTEXT
184
185 #undef HAS_INET_PTON
186
187 #undef HAS_ITIMER
188
189 #define HAS_SETLOCALE
190
191 #undef HAVE_FORK
192
193 #undef HAVE_SETPGRP
194
195 #undef SETPGRP_VOID
196
197 #undef HAVE_GETUID
198
199 #undef HAVE_GETEUID
200
201 #undef HAVE_SETEUID
202
203 #undef HAVE_GETPRIORITY
204
205 #undef HAVE_SETPRIORITY
206
207 #undef HAVE_SIGACTION
208
209 #undef HAVE_SIGPROCMASK
210
211 #undef HAVE_SNPRINTF
212
213 #undef HAS_SOCKETPAIR
214
215 #undef HAVE_STRCASECMP
216
217 /* Various Windows (And maybe others?) string functions  start with _str */
218
219 #define HAVE__STRICMP
220
221 #define HAVE__STRNICMP
222
223 #define HAVE__STRICOLL
224
225 #define HAVE__STRNCOLL
226
227 #define HAVE__STRNICOLL
228
229 #define HAVE__SNPRINTF
230
231 #define HAVE__VSNPRINTF
232
233 #define HAVE__VSNPRINTF_S
234
235 #define HAS_STRDUP
236
237 #define HAVE_STRCOLL
238
239 #define HAS_STRXFRM
240
241 #undef HAS_SYSCONF
242
243 #undef HAS_TEXTDOMAIN
244
245 #undef HAS_VSNPRINTF
246
247 #undef HAS_WAITPID
248
249 #undef HAVE_WAIT3
250
251 #undef HAVE_WAIT
252
253 #define UNION_WAIT
254
255 /* Variables and defines */
256
257 #define HAVE_H_ERRNO
258
259 #undef HAVE_SIGCHLD
260
261 #undef HAVE_SIGCLD
262
263 /* Files */
264
265 #undef HAS_DEV_URANDOM
266
267 /* Misc. */
268
269 #undef HAVE_SOCKADDR_IN6
270
271 #undef FORCE_IPV4
272
273 #define DONT_TRANSLATE
274
275 #undef HAVE_UPTIME
276
277 #undef UPTIME
278
279 #undef HAVE_SENDMAIL
280
281 #undef SENDMAIL
282
283 #define HAVE_SAFE_TOUPPER
284
285 /* Optional language features */
286 #define restrict
287 #undef inline
288 #ifndef _SSIZE_T_DEFINED
289 #ifdef  _WIN64
290 typedef __int64 ssize_t;
291 #else
292 typedef int ssize_t;
293 #endif
294 #define _SSIZE_T_DEFINED
295 #endif
296
297 #ifdef _MSC_VER
298 #define WIN32_CDECL __cdecl
299 #else
300 #define WIN32_CDECL
301 #endif
302
303 #undef HAVE___ATTRIBUTE__
304
305 #ifndef HAVE___ATTRIBUTE__
306 #define __attribute__(x)
307 #endif
308
309 #undef GCC_MALLOC_CALL
310
311 /* TODO: Change in source */
312 #define RESTRICT
313
314 #endif /* __CONFIG_H */
Note: See TracBrowser for help on using the browser.