VirtualBox

source: vbox/trunk/src/libs/curl-7.83.1/lib/config-win32ce.h@ 98341

最後變更 在這個檔案從98341是 95312,由 vboxsync 提交於 3 年 前

libs/{curl,libxml2}: OSE export fixes, bugref:8515

  • 屬性 svn:eol-style 設為 native
檔案大小: 11.9 KB
 
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 - 2022, Daniel Stenberg, <[email protected]>, 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.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 <errno.h> header file. */
40/* #define HAVE_ERRNO_H 1 */
41
42/* Define if you have the <fcntl.h> header file. */
43#define HAVE_FCNTL_H 1
44
45/* Define if you have the <getopt.h> header file. */
46/* #define HAVE_GETOPT_H 1 */
47
48/* Define if you have the <io.h> header file. */
49#define HAVE_IO_H 1
50
51/* Define if you need the malloc.h header file even with stdlib.h */
52#define NEED_MALLOC_H 1
53
54/* Define if you have the <netdb.h> header file. */
55/* #define HAVE_NETDB_H 1 */
56
57/* Define if you have the <netinet/in.h> header file. */
58/* #define HAVE_NETINET_IN_H 1 */
59
60/* Define if you have the <signal.h> header file. */
61#define HAVE_SIGNAL_H 1
62
63/* Define if you have the <ssl.h> header file. */
64/* #define HAVE_SSL_H 1 */
65
66/* Define if you have the <stdlib.h> header file. */
67#define HAVE_STDLIB_H 1
68
69/* Define if you have the <process.h> header file. */
70/* #define HAVE_PROCESS_H 1 */
71
72/* Define if you have the <sys/param.h> header file. */
73/* #define HAVE_SYS_PARAM_H 1 */
74
75/* Define if you have the <sys/select.h> header file. */
76/* #define HAVE_SYS_SELECT_H 1 */
77
78/* Define if you have the <sys/socket.h> header file. */
79/* #define HAVE_SYS_SOCKET_H 1 */
80
81/* Define if you have the <sys/sockio.h> header file. */
82/* #define HAVE_SYS_SOCKIO_H 1 */
83
84/* Define if you have the <sys/stat.h> header file. */
85#define HAVE_SYS_STAT_H 1
86
87/* Define if you have the <sys/time.h> header file */
88/* #define HAVE_SYS_TIME_H 1 */
89
90/* Define if you have the <sys/types.h> header file. */
91/* #define HAVE_SYS_TYPES_H 1 */
92
93/* Define if you have the <sys/utime.h> header file */
94#define HAVE_SYS_UTIME_H 1
95
96/* Define if you have the <termio.h> header file. */
97/* #define HAVE_TERMIO_H 1 */
98
99/* Define if you have the <termios.h> header file. */
100/* #define HAVE_TERMIOS_H 1 */
101
102/* Define if you have the <time.h> header file. */
103#define HAVE_TIME_H 1
104
105/* Define if you have the <unistd.h> header file. */
106#if defined(__MINGW32__) || defined(__LCC__)
107#define HAVE_UNISTD_H 1
108#endif
109
110/* Define if you have the <windows.h> header file. */
111#define HAVE_WINDOWS_H 1
112
113/* Define if you have the <winsock2.h> header file. */
114#define HAVE_WINSOCK2_H 1
115
116/* Define if you have the <ws2tcpip.h> header file. */
117#define HAVE_WS2TCPIP_H 1
118
119/* ---------------------------------------------------------------- */
120/* OTHER HEADER INFO */
121/* ---------------------------------------------------------------- */
122
123/* Define if you have the ANSI C header files. */
124#define STDC_HEADERS 1
125
126/* Define if you can safely include both <sys/time.h> and <time.h>. */
127/* #define TIME_WITH_SYS_TIME 1 */
128
129/* ---------------------------------------------------------------- */
130/* FUNCTIONS */
131/* ---------------------------------------------------------------- */
132
133/* Define if you have the closesocket function. */
134#define HAVE_CLOSESOCKET 1
135
136/* Define if you don't have vprintf but do have _doprnt. */
137/* #define HAVE_DOPRNT 1 */
138
139/* Define if you have the gethostname function. */
140#define HAVE_GETHOSTNAME 1
141
142/* Define if you have the getpass function. */
143/* #define HAVE_GETPASS 1 */
144
145/* Define if you have the getservbyname function. */
146#define HAVE_GETSERVBYNAME 1
147
148/* Define if you have the gettimeofday function. */
149/* #define HAVE_GETTIMEOFDAY 1 */
150
151/* Define if you have the inet_addr function. */
152#define HAVE_INET_ADDR 1
153
154/* Define if you have the ioctlsocket function. */
155#define HAVE_IOCTLSOCKET 1
156
157/* Define if you have a working ioctlsocket FIONBIO function. */
158#define HAVE_IOCTLSOCKET_FIONBIO 1
159
160/* Define if you have the RAND_screen function when using SSL */
161#define HAVE_RAND_SCREEN 1
162
163/* Define if you have the `RAND_status' function when using SSL. */
164#define HAVE_RAND_STATUS 1
165
166/* Define if you have the select function. */
167#define HAVE_SELECT 1
168
169/* Define if you have the setvbuf function. */
170#define HAVE_SETVBUF 1
171
172/* Define if you have the socket function. */
173#define HAVE_SOCKET 1
174
175/* Define if you have the strcasecmp function. */
176/* #define HAVE_STRCASECMP 1 */
177
178/* Define if you have the strdup function. */
179/* #define HAVE_STRDUP 1 */
180
181/* Define if you have the strftime function. */
182/* #define HAVE_STRFTIME 1 */
183
184/* Define if you have the stricmp function. */
185/* #define HAVE_STRICMP 1 */
186
187/* Define if you have the strnicmp function. */
188/* #define HAVE_STRNICMP 1 */
189
190/* Define if you have the strstr function. */
191#define HAVE_STRSTR 1
192
193/* Define if you have the strtoll function. */
194#if defined(__MINGW32__)
195#define HAVE_STRTOLL 1
196#endif
197
198/* Define if you have the utime function */
199#define HAVE_UTIME 1
200
201/* Define if you have the recv function. */
202#define HAVE_RECV 1
203
204/* Define to the type of arg 1 for recv. */
205#define RECV_TYPE_ARG1 SOCKET
206
207/* Define to the type of arg 2 for recv. */
208#define RECV_TYPE_ARG2 char *
209
210/* Define to the type of arg 3 for recv. */
211#define RECV_TYPE_ARG3 int
212
213/* Define to the type of arg 4 for recv. */
214#define RECV_TYPE_ARG4 int
215
216/* Define to the function return type for recv. */
217#define RECV_TYPE_RETV int
218
219/* Define if you have the recvfrom function. */
220#define HAVE_RECVFROM 1
221
222/* Define to the type of arg 1 for recvfrom. */
223#define RECVFROM_TYPE_ARG1 SOCKET
224
225/* Define to the type pointed by arg 2 for recvfrom. */
226#define RECVFROM_TYPE_ARG2 char
227
228/* Define to the type of arg 3 for recvfrom. */
229#define RECVFROM_TYPE_ARG3 int
230
231/* Define to the type of arg 4 for recvfrom. */
232#define RECVFROM_TYPE_ARG4 int
233
234/* Define to the type pointed by arg 5 for recvfrom. */
235#define RECVFROM_TYPE_ARG5 struct sockaddr
236
237/* Define to the type pointed by arg 6 for recvfrom. */
238#define RECVFROM_TYPE_ARG6 int
239
240/* Define to the function return type for recvfrom. */
241#define RECVFROM_TYPE_RETV int
242
243/* Define if you have the send function. */
244#define HAVE_SEND 1
245
246/* Define to the type of arg 1 for send. */
247#define SEND_TYPE_ARG1 SOCKET
248
249/* Define to the type qualifier of arg 2 for send. */
250#define SEND_QUAL_ARG2 const
251
252/* Define to the type of arg 2 for send. */
253#define SEND_TYPE_ARG2 char *
254
255/* Define to the type of arg 3 for send. */
256#define SEND_TYPE_ARG3 int
257
258/* Define to the type of arg 4 for send. */
259#define SEND_TYPE_ARG4 int
260
261/* Define to the function return type for send. */
262#define SEND_TYPE_RETV int
263
264/* ---------------------------------------------------------------- */
265/* TYPEDEF REPLACEMENTS */
266/* ---------------------------------------------------------------- */
267
268/* Define this if in_addr_t is not an available 'typedefed' type */
269#define in_addr_t unsigned long
270
271/* Define ssize_t if it is not an available 'typedefed' type */
272#if defined(__POCC__)
273#elif defined(_WIN64)
274#define ssize_t __int64
275#else
276#define ssize_t int
277#endif
278
279/* ---------------------------------------------------------------- */
280/* TYPE SIZES */
281/* ---------------------------------------------------------------- */
282
283/* The size of `int', as computed by sizeof. */
284#define SIZEOF_INT 4
285
286/* The size of `long double', as computed by sizeof. */
287#define SIZEOF_LONG_DOUBLE 16
288
289/* The size of `long long', as computed by sizeof. */
290/* #define SIZEOF_LONG_LONG 8 */
291
292/* The size of `short', as computed by sizeof. */
293#define SIZEOF_SHORT 2
294
295/* Define to the size of `long', as computed by sizeof. */
296#define SIZEOF_LONG 4
297
298/* The size of `size_t', as computed by sizeof. */
299#if defined(_WIN64)
300# define SIZEOF_SIZE_T 8
301#else
302# define SIZEOF_SIZE_T 4
303#endif
304
305/* ---------------------------------------------------------------- */
306/* STRUCT RELATED */
307/* ---------------------------------------------------------------- */
308
309/* Define this if you have struct sockaddr_storage */
310/* #define HAVE_STRUCT_SOCKADDR_STORAGE 1 */
311
312/* Define this if you have struct timeval */
313#define HAVE_STRUCT_TIMEVAL 1
314
315/* Define this if struct sockaddr_in6 has the sin6_scope_id member */
316#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
317
318/* ---------------------------------------------------------------- */
319/* COMPILER SPECIFIC */
320/* ---------------------------------------------------------------- */
321
322/* Undef keyword 'const' if it does not work. */
323/* #undef const */
324
325/* Define to avoid VS2005 complaining about portable C functions */
326#if defined(_MSC_VER) && (_MSC_VER >= 1400)
327#define _CRT_SECURE_NO_DEPRECATE 1
328#define _CRT_NONSTDC_NO_DEPRECATE 1
329#endif
330
331/* VS2005 and later default size for time_t is 64-bit, unless */
332/* _USE_32BIT_TIME_T has been defined to get a 32-bit time_t. */
333#if defined(_MSC_VER) && (_MSC_VER >= 1400)
334# ifndef _USE_32BIT_TIME_T
335# define SIZEOF_TIME_T 8
336# else
337# define SIZEOF_TIME_T 4
338# endif
339#endif
340
341/* ---------------------------------------------------------------- */
342/* LARGE FILE SUPPORT */
343/* ---------------------------------------------------------------- */
344
345#if defined(_MSC_VER) && !defined(_WIN32_WCE)
346# if (_MSC_VER >= 900) && (_INTEGRAL_MAX_BITS >= 64)
347# define USE_WIN32_LARGE_FILES
348# else
349# define USE_WIN32_SMALL_FILES
350# endif
351#endif
352
353#if !defined(USE_WIN32_LARGE_FILES) && !defined(USE_WIN32_SMALL_FILES)
354# define USE_WIN32_SMALL_FILES
355#endif
356
357/* ---------------------------------------------------------------- */
358/* LDAP SUPPORT */
359/* ---------------------------------------------------------------- */
360
361#define USE_WIN32_LDAP 1
362#undef HAVE_LDAP_URL_PARSE
363
364/* ---------------------------------------------------------------- */
365/* ADDITIONAL DEFINITIONS */
366/* ---------------------------------------------------------------- */
367
368/* Define cpu-machine-OS */
369#undef OS
370#define OS "i386-pc-win32ce"
371
372/* Name of package */
373#define PACKAGE "curl"
374
375/* ---------------------------------------------------------------- */
376/* WinCE */
377/* ---------------------------------------------------------------- */
378
379#ifndef UNICODE
380# define UNICODE
381#endif
382
383#ifndef _UNICODE
384# define _UNICODE
385#endif
386
387#define CURL_DISABLE_FILE 1
388#define CURL_DISABLE_TELNET 1
389#define CURL_DISABLE_LDAP 1
390
391#define ENOSPC 1
392#define ENOMEM 2
393#define EAGAIN 3
394
395extern int stat(const char *path, struct stat *buffer);
396
397#endif /* HEADER_CURL_CONFIG_WIN32CE_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette