config-win32ce.h
Go to the documentation of this file.
1 #ifndef HEADER_CURL_CONFIG_WIN32CE_H
2 #define HEADER_CURL_CONFIG_WIN32CE_H
3 /***************************************************************************
4  * _ _ ____ _
5  * Project ___| | | | _ \| |
6  * / __| | | | |_) | |
7  * | (__| |_| | _ <| |___
8  * \___|\___/|_| \_\_____|
9  *
10  * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
11  *
12  * This software is licensed as described in the file COPYING, which
13  * you should have received as part of this distribution. The terms
14  * are also available at https://curl.haxx.se/docs/copyright.html.
15  *
16  * You may opt to use, copy, modify, merge, publish, distribute and/or sell
17  * copies of the Software, and permit persons to whom the Software is
18  * furnished to do so, under the terms of the COPYING file.
19  *
20  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21  * KIND, either express or implied.
22  *
23  ***************************************************************************/
24 
25 /* ================================================================ */
26 /* lib/config-win32ce.h - Hand crafted config file for windows ce */
27 /* ================================================================ */
28 
29 /* ---------------------------------------------------------------- */
30 /* HEADER FILES */
31 /* ---------------------------------------------------------------- */
32 
33 /* Define if you have the <arpa/inet.h> header file. */
34 /* #define HAVE_ARPA_INET_H 1 */
35 
36 /* Define if you have the <assert.h> header file. */
37 /* #define HAVE_ASSERT_H 1 */
38 
39 /* Define if you have the <crypto.h> header file. */
40 /* #define HAVE_CRYPTO_H 1 */
41 
42 /* Define if you have the <errno.h> header file. */
43 /* #define HAVE_ERRNO_H 1 */
44 
45 /* Define if you have the <err.h> header file. */
46 /* #define HAVE_ERR_H 1 */
47 
48 /* Define if you have the <fcntl.h> header file. */
49 #define HAVE_FCNTL_H 1
50 
51 /* Define if you have the <getopt.h> header file. */
52 /* #define HAVE_GETOPT_H 1 */
53 
54 /* Define if you have the <io.h> header file. */
55 #define HAVE_IO_H 1
56 
57 /* Define if you have the <limits.h> header file. */
58 #define HAVE_LIMITS_H 1
59 
60 /* Define if you need the malloc.h header header file even with stdlib.h */
61 #define NEED_MALLOC_H 1
62 
63 /* Define if you have the <netdb.h> header file. */
64 /* #define HAVE_NETDB_H 1 */
65 
66 /* Define if you have the <netinet/in.h> header file. */
67 /* #define HAVE_NETINET_IN_H 1 */
68 
69 /* Define if you have the <signal.h> header file. */
70 #define HAVE_SIGNAL_H 1
71 
72 /* Define if you have the <sgtty.h> header file. */
73 /* #define HAVE_SGTTY_H 1 */
74 
75 /* Define if you have the <ssl.h> header file. */
76 /* #define HAVE_SSL_H 1 */
77 
78 /* Define if you have the <stdlib.h> header file. */
79 #define HAVE_STDLIB_H 1
80 
81 /* Define if you have the <process.h> header file. */
82 /* #define HAVE_PROCESS_H 1 */
83 
84 /* Define if you have the <sys/param.h> header file. */
85 /* #define HAVE_SYS_PARAM_H 1 */
86 
87 /* Define if you have the <sys/select.h> header file. */
88 /* #define HAVE_SYS_SELECT_H 1 */
89 
90 /* Define if you have the <sys/socket.h> header file. */
91 /* #define HAVE_SYS_SOCKET_H 1 */
92 
93 /* Define if you have the <sys/sockio.h> header file. */
94 /* #define HAVE_SYS_SOCKIO_H 1 */
95 
96 /* Define if you have the <sys/stat.h> header file. */
97 #define HAVE_SYS_STAT_H 1
98 
99 /* Define if you have the <sys/time.h> header file */
100 /* #define HAVE_SYS_TIME_H 1 */
101 
102 /* Define if you have the <sys/types.h> header file. */
103 /* #define HAVE_SYS_TYPES_H 1 */
104 
105 /* Define if you have the <sys/utime.h> header file */
106 #define HAVE_SYS_UTIME_H 1
107 
108 /* Define if you have the <termio.h> header file. */
109 /* #define HAVE_TERMIO_H 1 */
110 
111 /* Define if you have the <termios.h> header file. */
112 /* #define HAVE_TERMIOS_H 1 */
113 
114 /* Define if you have the <time.h> header file. */
115 #define HAVE_TIME_H 1
116 
117 /* Define if you have the <unistd.h> header file. */
118 #if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__LCC__)
119 #define HAVE_UNISTD_H 1
120 #endif
121 
122 /* Define if you have the <windows.h> header file. */
123 #define HAVE_WINDOWS_H 1
124 
125 /* Define if you have the <winsock.h> header file. */
126 #define HAVE_WINSOCK_H 1
127 
128 /* Define if you have the <winsock2.h> header file. */
129 /* #define HAVE_WINSOCK2_H 1 */
130 
131 /* Define if you have the <ws2tcpip.h> header file. */
132 /* #define HAVE_WS2TCPIP_H 1 */
133 
134 /* ---------------------------------------------------------------- */
135 /* OTHER HEADER INFO */
136 /* ---------------------------------------------------------------- */
137 
138 /* Define if sig_atomic_t is an available typedef. */
139 #define HAVE_SIG_ATOMIC_T 1
140 
141 /* Define if you have the ANSI C header files. */
142 #define STDC_HEADERS 1
143 
144 /* Define if you can safely include both <sys/time.h> and <time.h>. */
145 /* #define TIME_WITH_SYS_TIME 1 */
146 
147 /* ---------------------------------------------------------------- */
148 /* FUNCTIONS */
149 /* ---------------------------------------------------------------- */
150 
151 /* Define if you have the closesocket function. */
152 #define HAVE_CLOSESOCKET 1
153 
154 /* Define if you don't have vprintf but do have _doprnt. */
155 /* #define HAVE_DOPRNT 1 */
156 
157 /* Define if you have the gethostbyaddr function. */
158 #define HAVE_GETHOSTBYADDR 1
159 
160 /* Define if you have the gethostname function. */
161 #define HAVE_GETHOSTNAME 1
162 
163 /* Define if you have the getpass function. */
164 /* #define HAVE_GETPASS 1 */
165 
166 /* Define if you have the getservbyname function. */
167 #define HAVE_GETSERVBYNAME 1
168 
169 /* Define if you have the gettimeofday function. */
170 /* #define HAVE_GETTIMEOFDAY 1 */
171 
172 /* Define if you have the inet_addr function. */
173 #define HAVE_INET_ADDR 1
174 
175 /* Define if you have the ioctlsocket function. */
176 #define HAVE_IOCTLSOCKET 1
177 
178 /* Define if you have a working ioctlsocket FIONBIO function. */
179 #define HAVE_IOCTLSOCKET_FIONBIO 1
180 
181 /* Define if you have the perror function. */
182 #define HAVE_PERROR 1
183 
184 /* Define if you have the RAND_screen function when using SSL */
185 #define HAVE_RAND_SCREEN 1
186 
187 /* Define if you have the `RAND_status' function when using SSL. */
188 #define HAVE_RAND_STATUS 1
189 
190 /* Define if you have the select function. */
191 #define HAVE_SELECT 1
192 
193 /* Define if you have the setvbuf function. */
194 #define HAVE_SETVBUF 1
195 
196 /* Define if you have the socket function. */
197 #define HAVE_SOCKET 1
198 
199 /* Define if you have the strcasecmp function. */
200 /* #define HAVE_STRCASECMP 1 */
201 
202 /* Define if you have the strdup function. */
203 /* #define HAVE_STRDUP 1 */
204 
205 /* Define if you have the strftime function. */
206 /* #define HAVE_STRFTIME 1 */
207 
208 /* Define if you have the stricmp function. */
209 /* #define HAVE_STRICMP 1 */
210 
211 /* Define if you have the strncasecmp function. */
212 /* #define HAVE_STRNCASECMP 1 */
213 
214 /* Define if you have the strnicmp function. */
215 /* #define HAVE_STRNICMP 1 */
216 
217 /* Define if you have the strstr function. */
218 #define HAVE_STRSTR 1
219 
220 /* Define if you have the strtoll function. */
221 #if defined(__MINGW32__) || defined(__WATCOMC__)
222 #define HAVE_STRTOLL 1
223 #endif
224 
225 /* Define if you have the tcgetattr function. */
226 /* #define HAVE_TCGETATTR 1 */
227 
228 /* Define if you have the tcsetattr function. */
229 /* #define HAVE_TCSETATTR 1 */
230 
231 /* Define if you have the utime function */
232 #define HAVE_UTIME 1
233 
234 /* Define if you have the getnameinfo function. */
235 #define HAVE_GETNAMEINFO 1
236 
237 /* Define to the type qualifier of arg 1 for getnameinfo. */
238 #define GETNAMEINFO_QUAL_ARG1 const
239 
240 /* Define to the type of arg 1 for getnameinfo. */
241 #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
242 
243 /* Define to the type of arg 2 for getnameinfo. */
244 #define GETNAMEINFO_TYPE_ARG2 socklen_t
245 
246 /* Define to the type of args 4 and 6 for getnameinfo. */
247 #define GETNAMEINFO_TYPE_ARG46 DWORD
248 
249 /* Define to the type of arg 7 for getnameinfo. */
250 #define GETNAMEINFO_TYPE_ARG7 int
251 
252 /* Define if you have the recv function. */
253 #define HAVE_RECV 1
254 
255 /* Define to the type of arg 1 for recv. */
256 #define RECV_TYPE_ARG1 SOCKET
257 
258 /* Define to the type of arg 2 for recv. */
259 #define RECV_TYPE_ARG2 char *
260 
261 /* Define to the type of arg 3 for recv. */
262 #define RECV_TYPE_ARG3 int
263 
264 /* Define to the type of arg 4 for recv. */
265 #define RECV_TYPE_ARG4 int
266 
267 /* Define to the function return type for recv. */
268 #define RECV_TYPE_RETV int
269 
270 /* Define if you have the recvfrom function. */
271 #define HAVE_RECVFROM 1
272 
273 /* Define to the type of arg 1 for recvfrom. */
274 #define RECVFROM_TYPE_ARG1 SOCKET
275 
276 /* Define to the type pointed by arg 2 for recvfrom. */
277 #define RECVFROM_TYPE_ARG2 char
278 
279 /* Define to the type of arg 3 for recvfrom. */
280 #define RECVFROM_TYPE_ARG3 int
281 
282 /* Define to the type of arg 4 for recvfrom. */
283 #define RECVFROM_TYPE_ARG4 int
284 
285 /* Define to the type pointed by arg 5 for recvfrom. */
286 #define RECVFROM_TYPE_ARG5 struct sockaddr
287 
288 /* Define to the type pointed by arg 6 for recvfrom. */
289 #define RECVFROM_TYPE_ARG6 int
290 
291 /* Define to the function return type for recvfrom. */
292 #define RECVFROM_TYPE_RETV int
293 
294 /* Define if you have the send function. */
295 #define HAVE_SEND 1
296 
297 /* Define to the type of arg 1 for send. */
298 #define SEND_TYPE_ARG1 SOCKET
299 
300 /* Define to the type qualifier of arg 2 for send. */
301 #define SEND_QUAL_ARG2 const
302 
303 /* Define to the type of arg 2 for send. */
304 #define SEND_TYPE_ARG2 char *
305 
306 /* Define to the type of arg 3 for send. */
307 #define SEND_TYPE_ARG3 int
308 
309 /* Define to the type of arg 4 for send. */
310 #define SEND_TYPE_ARG4 int
311 
312 /* Define to the function return type for send. */
313 #define SEND_TYPE_RETV int
314 
315 /* ---------------------------------------------------------------- */
316 /* TYPEDEF REPLACEMENTS */
317 /* ---------------------------------------------------------------- */
318 
319 /* Define this if in_addr_t is not an available 'typedefed' type */
320 #define in_addr_t unsigned long
321 
322 /* Define as the return type of signal handlers (int or void). */
323 #define RETSIGTYPE void
324 
325 /* Define ssize_t if it is not an available 'typedefed' type */
326 #if (defined(__WATCOMC__) && (__WATCOMC__ >= 1240)) || defined(__POCC__)
327 #elif defined(_WIN64)
328 #define ssize_t __int64
329 #else
330 #define ssize_t int
331 #endif
332 
333 /* ---------------------------------------------------------------- */
334 /* TYPE SIZES */
335 /* ---------------------------------------------------------------- */
336 
337 /* The size of `int', as computed by sizeof. */
338 #define SIZEOF_INT 4
339 
340 /* The size of `long double', as computed by sizeof. */
341 #define SIZEOF_LONG_DOUBLE 16
342 
343 /* The size of `long long', as computed by sizeof. */
344 /* #define SIZEOF_LONG_LONG 8 */
345 
346 /* The size of `short', as computed by sizeof. */
347 #define SIZEOF_SHORT 2
348 
349 /* Define to the size of `long', as computed by sizeof. */
350 #define SIZEOF_LONG 4
351 
352 /* The size of `size_t', as computed by sizeof. */
353 #if defined(_WIN64)
354 # define SIZEOF_SIZE_T 8
355 #else
356 # define SIZEOF_SIZE_T 4
357 #endif
358 
359 /* ---------------------------------------------------------------- */
360 /* STRUCT RELATED */
361 /* ---------------------------------------------------------------- */
362 
363 /* Define this if you have struct sockaddr_storage */
364 /* #define HAVE_STRUCT_SOCKADDR_STORAGE 1 */
365 
366 /* Define this if you have struct timeval */
367 #define HAVE_STRUCT_TIMEVAL 1
368 
369 /* Define this if struct sockaddr_in6 has the sin6_scope_id member */
370 #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
371 
372 /* ---------------------------------------------------------------- */
373 /* COMPILER SPECIFIC */
374 /* ---------------------------------------------------------------- */
375 
376 /* Undef keyword 'const' if it does not work. */
377 /* #undef const */
378 
379 /* Define to avoid VS2005 complaining about portable C functions */
380 #if defined(_MSC_VER) && (_MSC_VER >= 1400)
381 #define _CRT_SECURE_NO_DEPRECATE 1
382 #define _CRT_NONSTDC_NO_DEPRECATE 1
383 #endif
384 
385 /* VS2005 and later default size for time_t is 64-bit, unless */
386 /* _USE_32BIT_TIME_T has been defined to get a 32-bit time_t. */
387 #if defined(_MSC_VER) && (_MSC_VER >= 1400)
388 # ifndef _USE_32BIT_TIME_T
389 # define SIZEOF_TIME_T 8
390 # else
391 # define SIZEOF_TIME_T 4
392 # endif
393 #endif
394 
395 /* ---------------------------------------------------------------- */
396 /* LARGE FILE SUPPORT */
397 /* ---------------------------------------------------------------- */
398 
399 #if defined(_MSC_VER) && !defined(_WIN32_WCE)
400 # if (_MSC_VER >= 900) && (_INTEGRAL_MAX_BITS >= 64)
401 # define USE_WIN32_LARGE_FILES
402 # else
403 # define USE_WIN32_SMALL_FILES
404 # endif
405 #endif
406 
407 #if !defined(USE_WIN32_LARGE_FILES) && !defined(USE_WIN32_SMALL_FILES)
408 # define USE_WIN32_SMALL_FILES
409 #endif
410 
411 /* ---------------------------------------------------------------- */
412 /* LDAP SUPPORT */
413 /* ---------------------------------------------------------------- */
414 
415 #define USE_WIN32_LDAP 1
416 #undef HAVE_LDAP_URL_PARSE
417 
418 /* ---------------------------------------------------------------- */
419 /* ADDITIONAL DEFINITIONS */
420 /* ---------------------------------------------------------------- */
421 
422 /* Define cpu-machine-OS */
423 #undef OS
424 #define OS "i386-pc-win32ce"
425 
426 /* Name of package */
427 #define PACKAGE "curl"
428 
429 /* ---------------------------------------------------------------- */
430 /* WinCE */
431 /* ---------------------------------------------------------------- */
432 
433 #ifndef UNICODE
434 # define UNICODE
435 #endif
436 
437 #ifndef _UNICODE
438 # define _UNICODE
439 #endif
440 
441 #define CURL_DISABLE_FILE 1
442 #define CURL_DISABLE_TELNET 1
443 #define CURL_DISABLE_LDAP 1
444 
445 #define ENOSPC 1
446 #define ENOMEM 2
447 #define EAGAIN 3
448 
449 extern int stat(const char *path, struct stat *buffer);
450 
451 #endif /* HEADER_CURL_CONFIG_WIN32CE_H */
int stat(const char *path, struct stat *buffer)
char buffer[]
Definition: unit1308.c:48
const char * path
Definition: util.c:192


rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:08