1 #ifndef __LIB_CONFIG_WIN32CE_H
2 #define __LIB_CONFIG_WIN32CE_H
4 /* ================================================================ */
5 /* lib/config-win32ce.h - Hand crafted config file for windows ce */
6 /* ================================================================ */
8 /* ---------------------------------------------------------------- */
10 /* ---------------------------------------------------------------- */
12 /* Define if you have the <arpa/inet.h> header file. */
13 /* #define HAVE_ARPA_INET_H 1 */
15 /* Define if you have the <assert.h> header file. */
16 /* #define HAVE_ASSERT_H 1 */
18 /* Define if you have the <crypto.h> header file. */
19 /* #define HAVE_CRYPTO_H 1 */
21 /* Define if you have the <err.h> header file. */
22 /* #define HAVE_ERR_H 1 */
24 /* Define if you have the <fcntl.h> header file. */
25 #define HAVE_FCNTL_H 1
27 /* Define if you have the <getopt.h> header file. */
28 /* #define HAVE_GETOPT_H 1 */
30 /* Define if you have the <io.h> header file. */
33 /* Define if you have the <limits.h> header file. */
34 #define HAVE_LIMITS_H 1
36 /* Define if you need the malloc.h header header file even with stdlib.h */
37 #define NEED_MALLOC_H 1
39 /* Define if you have the <netdb.h> header file. */
40 /* #define HAVE_NETDB_H 1 */
42 /* Define if you have the <netinet/in.h> header file. */
43 /* #define HAVE_NETINET_IN_H 1 */
45 /* Define if you have the <signal.h> header file. */
46 #define HAVE_SIGNAL_H 1
48 /* Define if you have the <sgtty.h> header file. */
49 /* #define HAVE_SGTTY_H 1 */
51 /* Define if you have the <ssl.h> header file. */
52 /* #define HAVE_SSL_H 1 */
54 /* Define if you have the <stdlib.h> header file. */
55 #define HAVE_STDLIB_H 1
57 /* Define if you have the <process.h> header file. */
58 #define HAVE_PROCESS_H 1
60 /* Define if you have the <sys/param.h> header file. */
61 /* #define HAVE_SYS_PARAM_H 1 */
63 /* Define if you have the <sys/select.h> header file. */
64 /* #define HAVE_SYS_SELECT_H 1 */
66 /* Define if you have the <sys/socket.h> header file. */
67 /* #define HAVE_SYS_SOCKET_H 1 */
69 /* Define if you have the <sys/sockio.h> header file. */
70 /* #define HAVE_SYS_SOCKIO_H 1 */
72 /* Define if you have the <sys/stat.h> header file. */
73 #define HAVE_SYS_STAT_H 1
75 /* Define if you have the <sys/time.h> header file */
76 /* #define HAVE_SYS_TIME_H 1 */
78 /* Define if you have the <sys/types.h> header file. */
79 /* #define HAVE_SYS_TYPES_H 1 */
81 /* Define if you have the <sys/utime.h> header file */
82 #define HAVE_SYS_UTIME_H 1
84 /* Define if you have the <termio.h> header file. */
85 /* #define HAVE_TERMIO_H 1 */
87 /* Define if you have the <termios.h> header file. */
88 /* #define HAVE_TERMIOS_H 1 */
90 /* Define if you have the <time.h> header file. */
93 /* Define if you have the <unistd.h> header file. */
94 #if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__LCC__)
95 #define HAVE_UNISTD_H 1
98 /* Define if you have the <windows.h> header file. */
99 #define HAVE_WINDOWS_H 1
101 /* Define if you have the <winsock.h> header file. */
102 #define HAVE_WINSOCK_H 1
104 /* Define if you have the <winsock2.h> header file. */
105 /* #define HAVE_WINSOCK2_H 1 */
107 /* Define if you have the <ws2tcpip.h> header file. */
108 /* #define HAVE_WS2TCPIP_H 1 */
110 /* ---------------------------------------------------------------- */
111 /* OTHER HEADER INFO */
112 /* ---------------------------------------------------------------- */
114 /* Define if sig_atomic_t is an available typedef. */
115 #define HAVE_SIG_ATOMIC_T 1
117 /* Define if you have the ANSI C header files. */
118 #define STDC_HEADERS 1
120 /* Define if you can safely include both <sys/time.h> and <time.h>. */
121 /* #define TIME_WITH_SYS_TIME 1 */
123 /* ---------------------------------------------------------------- */
125 /* ---------------------------------------------------------------- */
127 /* Define if you have the closesocket function. */
128 #define HAVE_CLOSESOCKET 1
130 /* Define if you don't have vprintf but do have _doprnt. */
131 /* #define HAVE_DOPRNT 1 */
133 /* Define if you have the gethostbyaddr function. */
134 #define HAVE_GETHOSTBYADDR 1
136 /* Define if you have the gethostname function. */
137 #define HAVE_GETHOSTNAME 1
139 /* Define if you have the getpass function. */
140 /* #define HAVE_GETPASS 1 */
142 /* Define if you have the getservbyname function. */
143 #define HAVE_GETSERVBYNAME 1
145 /* Define if you have the gettimeofday function. */
146 /* #define HAVE_GETTIMEOFDAY 1 */
148 /* Define if you have the inet_addr function. */
149 #define HAVE_INET_ADDR 1
151 /* Define if you have the ioctlsocket function. */
152 #define HAVE_IOCTLSOCKET 1
154 /* Define if you have a working ioctlsocket FIONBIO function. */
155 #define HAVE_IOCTLSOCKET_FIONBIO 1
157 /* Define if you have the perror function. */
158 #define HAVE_PERROR 1
160 /* Define if you have the RAND_screen function when using SSL */
161 #define HAVE_RAND_SCREEN 1
163 /* Define if you have the `RAND_status' function when using SSL. */
164 #define HAVE_RAND_STATUS 1
166 /* Define if you have the select function. */
167 #define HAVE_SELECT 1
169 /* Define if you have the setvbuf function. */
170 #define HAVE_SETVBUF 1
172 /* Define if you have the socket function. */
173 #define HAVE_SOCKET 1
175 /* Define if you have the strcasecmp function. */
176 /* #define HAVE_STRCASECMP 1 */
178 /* Define if you have the strdup function. */
179 /* #define HAVE_STRDUP 1 */
181 /* Define if you have the strftime function. */
182 /* #define HAVE_STRFTIME 1 */
184 /* Define if you have the stricmp function. */
185 /* #define HAVE_STRICMP 1 */
187 /* Define if you have the strncasecmp function. */
188 /* #define HAVE_STRNCASECMP 1 */
190 /* Define if you have the strnicmp function. */
191 /* #define HAVE_STRNICMP 1 */
193 /* Define if you have the strstr function. */
194 #define HAVE_STRSTR 1
196 /* Define if you have the strtoll function. */
197 #if defined(__MINGW32__) || defined(__WATCOMC__)
198 #define HAVE_STRTOLL 1
201 /* Define if you have the tcgetattr function. */
202 /* #define HAVE_TCGETATTR 1 */
204 /* Define if you have the tcsetattr function. */
205 /* #define HAVE_TCSETATTR 1 */
207 /* Define if you have the utime function */
210 /* Define if you have the getnameinfo function. */
211 #define HAVE_GETNAMEINFO 1
213 /* Define to the type qualifier of arg 1 for getnameinfo. */
214 #define GETNAMEINFO_QUAL_ARG1 const
216 /* Define to the type of arg 1 for getnameinfo. */
217 #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
219 /* Define to the type of arg 2 for getnameinfo. */
220 #define GETNAMEINFO_TYPE_ARG2 socklen_t
222 /* Define to the type of args 4 and 6 for getnameinfo. */
223 #define GETNAMEINFO_TYPE_ARG46 DWORD
225 /* Define to the type of arg 7 for getnameinfo. */
226 #define GETNAMEINFO_TYPE_ARG7 int
228 /* Define if you have the recv function. */
231 /* Define to the type of arg 1 for recv. */
232 #define RECV_TYPE_ARG1 SOCKET
234 /* Define to the type of arg 2 for recv. */
235 #define RECV_TYPE_ARG2 char *
237 /* Define to the type of arg 3 for recv. */
238 #define RECV_TYPE_ARG3 int
240 /* Define to the type of arg 4 for recv. */
241 #define RECV_TYPE_ARG4 int
243 /* Define to the function return type for recv. */
244 #define RECV_TYPE_RETV int
246 /* Define if you have the recvfrom function. */
247 #define HAVE_RECVFROM 1
249 /* Define to the type of arg 1 for recvfrom. */
250 #define RECVFROM_TYPE_ARG1 SOCKET
252 /* Define to the type pointed by arg 2 for recvfrom. */
253 #define RECVFROM_TYPE_ARG2 char
255 /* Define to the type of arg 3 for recvfrom. */
256 #define RECVFROM_TYPE_ARG3 int
258 /* Define to the type of arg 4 for recvfrom. */
259 #define RECVFROM_TYPE_ARG4 int
261 /* Define to the type pointed by arg 5 for recvfrom. */
262 #define RECVFROM_TYPE_ARG5 struct sockaddr
264 /* Define to the type pointed by arg 6 for recvfrom. */
265 #define RECVFROM_TYPE_ARG6 int
267 /* Define to the function return type for recvfrom. */
268 #define RECVFROM_TYPE_RETV int
270 /* Define if you have the send function. */
273 /* Define to the type of arg 1 for send. */
274 #define SEND_TYPE_ARG1 SOCKET
276 /* Define to the type qualifier of arg 2 for send. */
277 #define SEND_QUAL_ARG2 const
279 /* Define to the type of arg 2 for send. */
280 #define SEND_TYPE_ARG2 char *
282 /* Define to the type of arg 3 for send. */
283 #define SEND_TYPE_ARG3 int
285 /* Define to the type of arg 4 for send. */
286 #define SEND_TYPE_ARG4 int
288 /* Define to the function return type for send. */
289 #define SEND_TYPE_RETV int
291 /* ---------------------------------------------------------------- */
292 /* TYPEDEF REPLACEMENTS */
293 /* ---------------------------------------------------------------- */
295 /* Define this if in_addr_t is not an available 'typedefed' type */
296 #define in_addr_t unsigned long
298 /* Define as the return type of signal handlers (int or void). */
299 #define RETSIGTYPE void
301 /* Define ssize_t if it is not an available 'typedefed' type */
302 #if (defined(__WATCOMC__) && (__WATCOMC__ >= 1240)) || defined(__POCC__)
303 #elif defined(_WIN64)
304 #define ssize_t __int64
309 /* ---------------------------------------------------------------- */
311 /* ---------------------------------------------------------------- */
313 /* The size of `int', as computed by sizeof. */
316 /* The size of `long double', as computed by sizeof. */
317 #define SIZEOF_LONG_DOUBLE 16
319 /* The size of `long long', as computed by sizeof. */
320 /* #define SIZEOF_LONG_LONG 8 */
322 /* The size of `short', as computed by sizeof. */
323 #define SIZEOF_SHORT 2
325 /* The size of `size_t', as computed by sizeof. */
327 # define SIZEOF_SIZE_T 8
329 # define SIZEOF_SIZE_T 4
332 /* ---------------------------------------------------------------- */
334 /* ---------------------------------------------------------------- */
336 /* Define this if you have struct sockaddr_storage */
337 /* #define HAVE_STRUCT_SOCKADDR_STORAGE 1 */
339 /* Define this if you have struct timeval */
340 #define HAVE_STRUCT_TIMEVAL 1
342 /* Define this if struct sockaddr_in6 has the sin6_scope_id member */
343 #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
345 /* ---------------------------------------------------------------- */
346 /* COMPILER SPECIFIC */
347 /* ---------------------------------------------------------------- */
349 /* Undef keyword 'const' if it does not work. */
352 /* Define to avoid VS2005 complaining about portable C functions */
353 #if defined(_MSC_VER) && (_MSC_VER >= 1400)
354 #define _CRT_SECURE_NO_DEPRECATE 1
355 #define _CRT_NONSTDC_NO_DEPRECATE 1
358 /* VS2005 and later dafault size for time_t is 64-bit, unless */
359 /* _USE_32BIT_TIME_T has been defined to get a 32-bit time_t. */
360 #if defined(_MSC_VER) && (_MSC_VER >= 1400)
361 # ifndef _USE_32BIT_TIME_T
362 # define SIZEOF_TIME_T 8
364 # define SIZEOF_TIME_T 4
368 /* ---------------------------------------------------------------- */
369 /* LARGE FILE SUPPORT */
370 /* ---------------------------------------------------------------- */
372 #if defined(_MSC_VER) && !defined(_WIN32_WCE)
373 # if (_MSC_VER >= 900) && (_INTEGRAL_MAX_BITS >= 64)
374 # define USE_WIN32_LARGE_FILES
376 # define USE_WIN32_SMALL_FILES
380 #if !defined(USE_WIN32_LARGE_FILES) && !defined(USE_WIN32_SMALL_FILES)
381 # define USE_WIN32_SMALL_FILES
384 /* ---------------------------------------------------------------- */
386 /* ---------------------------------------------------------------- */
388 #define CURL_LDAP_WIN 1
389 #undef HAVE_LDAP_URL_PARSE
391 /* ---------------------------------------------------------------- */
392 /* ADDITIONAL DEFINITIONS */
393 /* ---------------------------------------------------------------- */
395 /* Define cpu-machine-OS */
397 #define OS "i386-pc-win32ce"
399 /* Name of package */
400 #define PACKAGE "curl"
402 /* ---------------------------------------------------------------- */
404 /* ---------------------------------------------------------------- */
406 #define CURL_DISABLE_FILE 1
407 #define CURL_DISABLE_TELNET 1
408 #define CURL_DISABLE_LDAP 1
414 extern int stat(const char *path,struct stat *buffer );
416 #endif /* __LIB_CONFIG_WIN32CE_H */