VirtualBox

source: vbox/trunk/src/libs/curl-8.7.1/lib/config-win32ce.h@ 106542

最後變更 在這個檔案從106542是 104083,由 vboxsync 提交於 11 月 前

curl-8.7.1: Applied and adjusted our curl changes to 8.4.0. bugref:10639

  • 屬性 svn:eol-style 設為 native
檔案大小: 9.2 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) 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 * SPDX-License-Identifier: curl
24 *
25 ***************************************************************************/
26
27/* ================================================================ */
28/* lib/config-win32ce.h - Hand crafted config file for windows ce */
29/* ================================================================ */
30
31/* ---------------------------------------------------------------- */
32/* HEADER FILES */
33/* ---------------------------------------------------------------- */
34
35/* Define if you have the <arpa/inet.h> header file. */
36/* #define HAVE_ARPA_INET_H 1 */
37
38/* Define if you have the <fcntl.h> header file. */
39#define HAVE_FCNTL_H 1
40
41/* Define if you have the <io.h> header file. */
42#define HAVE_IO_H 1
43
44/* Define if you need the malloc.h header file even with stdlib.h */
45#define NEED_MALLOC_H 1
46
47/* Define if you have the <netdb.h> header file. */
48/* #define HAVE_NETDB_H 1 */
49
50/* Define if you have the <netinet/in.h> header file. */
51/* #define HAVE_NETINET_IN_H 1 */
52
53/* Define if you have the <sys/param.h> header file. */
54/* #define HAVE_SYS_PARAM_H 1 */
55
56/* Define if you have the <sys/select.h> header file. */
57/* #define HAVE_SYS_SELECT_H 1 */
58
59/* Define if you have the <sys/socket.h> header file. */
60/* #define HAVE_SYS_SOCKET_H 1 */
61
62/* Define if you have the <sys/sockio.h> header file. */
63/* #define HAVE_SYS_SOCKIO_H 1 */
64
65/* Define if you have the <sys/stat.h> header file. */
66#define HAVE_SYS_STAT_H 1
67
68/* Define if you have the <sys/time.h> header file */
69/* #define HAVE_SYS_TIME_H 1 */
70
71/* Define if you have the <sys/types.h> header file. */
72/* #define HAVE_SYS_TYPES_H 1 */
73
74/* Define if you have the <sys/utime.h> header file */
75#define HAVE_SYS_UTIME_H 1
76
77/* Define if you have the <termio.h> header file. */
78/* #define HAVE_TERMIO_H 1 */
79
80/* Define if you have the <termios.h> header file. */
81/* #define HAVE_TERMIOS_H 1 */
82
83/* Define if you have the <unistd.h> header file. */
84#if defined(__MINGW32__)
85#define HAVE_UNISTD_H 1
86#endif
87
88/* ---------------------------------------------------------------- */
89/* OTHER HEADER INFO */
90/* ---------------------------------------------------------------- */
91
92/* Define if you have the ANSI C header files. */
93#define STDC_HEADERS 1
94
95/* ---------------------------------------------------------------- */
96/* FUNCTIONS */
97/* ---------------------------------------------------------------- */
98
99/* Define if you have the closesocket function. */
100#define HAVE_CLOSESOCKET 1
101
102/* Define if you have the gethostname function. */
103#define HAVE_GETHOSTNAME 1
104
105/* Define if you have the gettimeofday function. */
106/* #define HAVE_GETTIMEOFDAY 1 */
107
108/* Define if you have the ioctlsocket function. */
109#define HAVE_IOCTLSOCKET 1
110
111/* Define if you have a working ioctlsocket FIONBIO function. */
112#define HAVE_IOCTLSOCKET_FIONBIO 1
113
114/* Define if you have the select function. */
115#define HAVE_SELECT 1
116
117/* Define if you have the socket function. */
118#define HAVE_SOCKET 1
119
120/* Define if you have the strcasecmp function. */
121/* #define HAVE_STRCASECMP 1 */
122
123/* Define if you have the strdup function. */
124/* #define HAVE_STRDUP 1 */
125
126/* Define if you have the stricmp function. */
127/* #define HAVE_STRICMP 1 */
128
129/* Define if you have the strtoll function. */
130#if defined(__MINGW32__)
131#define HAVE_STRTOLL 1
132#endif
133
134/* Define if you have the utime function */
135#define HAVE_UTIME 1
136
137/* Define if you have the recv function. */
138#define HAVE_RECV 1
139
140/* Define to the type of arg 1 for recv. */
141#define RECV_TYPE_ARG1 SOCKET
142
143/* Define to the type of arg 2 for recv. */
144#define RECV_TYPE_ARG2 char *
145
146/* Define to the type of arg 3 for recv. */
147#define RECV_TYPE_ARG3 int
148
149/* Define to the type of arg 4 for recv. */
150#define RECV_TYPE_ARG4 int
151
152/* Define to the function return type for recv. */
153#define RECV_TYPE_RETV int
154
155/* Define if you have the send function. */
156#define HAVE_SEND 1
157
158/* Define to the type of arg 1 for send. */
159#define SEND_TYPE_ARG1 SOCKET
160
161/* Define to the type qualifier of arg 2 for send. */
162#define SEND_QUAL_ARG2 const
163
164/* Define to the type of arg 2 for send. */
165#define SEND_TYPE_ARG2 char *
166
167/* Define to the type of arg 3 for send. */
168#define SEND_TYPE_ARG3 int
169
170/* Define to the type of arg 4 for send. */
171#define SEND_TYPE_ARG4 int
172
173/* Define to the function return type for send. */
174#define SEND_TYPE_RETV int
175
176/* ---------------------------------------------------------------- */
177/* TYPEDEF REPLACEMENTS */
178/* ---------------------------------------------------------------- */
179
180/* Define this if in_addr_t is not an available 'typedefed' type */
181#define in_addr_t unsigned long
182
183/* Define ssize_t if it is not an available 'typedefed' type */
184#if defined(_WIN64)
185#define ssize_t __int64
186#else
187#define ssize_t int
188#endif
189
190/* ---------------------------------------------------------------- */
191/* TYPE SIZES */
192/* ---------------------------------------------------------------- */
193
194/* The size of `int', as computed by sizeof. */
195#define SIZEOF_INT 4
196
197/* The size of `long long', as computed by sizeof. */
198/* #define SIZEOF_LONG_LONG 8 */
199
200/* Define to the size of `long', as computed by sizeof. */
201#define SIZEOF_LONG 4
202
203/* The size of `size_t', as computed by sizeof. */
204#if defined(_WIN64)
205# define SIZEOF_SIZE_T 8
206#else
207# define SIZEOF_SIZE_T 4
208#endif
209
210/* ---------------------------------------------------------------- */
211/* STRUCT RELATED */
212/* ---------------------------------------------------------------- */
213
214/* Define this if you have struct sockaddr_storage */
215/* #define HAVE_STRUCT_SOCKADDR_STORAGE 1 */
216
217/* Define this if you have struct timeval */
218#define HAVE_STRUCT_TIMEVAL 1
219
220/* Define this if struct sockaddr_in6 has the sin6_scope_id member */
221#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
222
223/* ---------------------------------------------------------------- */
224/* COMPILER SPECIFIC */
225/* ---------------------------------------------------------------- */
226
227/* Undef keyword 'const' if it does not work. */
228/* #undef const */
229
230/* Define to avoid VS2005 complaining about portable C functions */
231#if defined(_MSC_VER) && (_MSC_VER >= 1400)
232#define _CRT_SECURE_NO_DEPRECATE 1
233#define _CRT_NONSTDC_NO_DEPRECATE 1
234#endif
235
236/* VS2005 and later default size for time_t is 64-bit, unless */
237/* _USE_32BIT_TIME_T has been defined to get a 32-bit time_t. */
238#if defined(_MSC_VER) && (_MSC_VER >= 1400)
239# ifndef _USE_32BIT_TIME_T
240# define SIZEOF_TIME_T 8
241# else
242# define SIZEOF_TIME_T 4
243# endif
244#endif
245
246/* ---------------------------------------------------------------- */
247/* LARGE FILE SUPPORT */
248/* ---------------------------------------------------------------- */
249
250#if defined(_MSC_VER) && !defined(_WIN32_WCE)
251# if (_MSC_VER >= 900) && (_INTEGRAL_MAX_BITS >= 64)
252# define USE_WIN32_LARGE_FILES
253# else
254# define USE_WIN32_SMALL_FILES
255# endif
256#endif
257
258#if !defined(USE_WIN32_LARGE_FILES) && !defined(USE_WIN32_SMALL_FILES)
259# define USE_WIN32_SMALL_FILES
260#endif
261
262/* ---------------------------------------------------------------- */
263/* LDAP SUPPORT */
264/* ---------------------------------------------------------------- */
265
266#define USE_WIN32_LDAP 1
267#undef HAVE_LDAP_URL_PARSE
268
269/* ---------------------------------------------------------------- */
270/* ADDITIONAL DEFINITIONS */
271/* ---------------------------------------------------------------- */
272
273/* Define cpu-machine-OS */
274#ifndef OS
275#define OS "i386-pc-win32ce"
276#endif
277
278/* Name of package */
279#define PACKAGE "curl"
280
281/* ---------------------------------------------------------------- */
282/* WinCE */
283/* ---------------------------------------------------------------- */
284
285#ifndef UNICODE
286# define UNICODE
287#endif
288
289#ifndef _UNICODE
290# define _UNICODE
291#endif
292
293#define CURL_DISABLE_FILE 1
294#define CURL_DISABLE_TELNET 1
295#define CURL_DISABLE_LDAP 1
296
297#define ENOSPC 1
298#define ENOMEM 2
299#define EAGAIN 3
300
301extern int stat(const char *path, struct stat *buffer);
302
303#endif /* HEADER_CURL_CONFIG_WIN32CE_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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