1
/* config.h. Generated automatically by configure. */
2
/* config.h.in. Generated automatically from configure.in by autoheader. */
4
#ifndef __CONFIG_WIN32CE_H
5
#define __CONFIG_WIN32CE_H
8
System headers sometimes define this.
9
We just want to avoid a redefinition error message. */
11
/* #undef _ALL_SOURCE */
14
/* Define to empty if the keyword does not work. */
17
/* Define if you don't have vprintf but do have _doprnt. */
18
/* #undef HAVE_DOPRNT */
20
/* Define if you have the vprintf function. */
21
#define HAVE_VPRINTF 1
23
/* Define as the return type of signal handlers (int or void). */
24
/*#define RETSIGTYPE void */
26
/* Define to `unsigned' if <sys/types.h> doesn't define. */
29
/* Define this to 'int' if ssize_t is not an available typedefed type */
32
/* Define this to 'int' if socklen_t is not an available typedefed type */
33
#if !defined(ENABLE_IPV6) && ((_MSC_VER < 1300) || !defined(USE_SSLEAY))
37
/* The size of a `curl_off_t', as computed by sizeof. */
38
#ifdef SIZEOF_CURL_OFF_T
39
#undef SIZEOF_CURL_OFF_T
42
/* Borland lacks _lseeki64(), so we don't support >2GB files */
43
#define SIZEOF_CURL_OFF_T 4
45
/* Define if you have the ANSI C header files. */
46
#define STDC_HEADERS 1
48
/* Define if you can safely include both <sys/time.h> and <time.h>. */
49
/* #define TIME_WITH_SYS_TIME 1 */
51
/* Define cpu-machine-OS */
52
#define OS "i386-pc-win32ce"
54
/* The number of bytes in a long double. */
55
#define SIZEOF_LONG_DOUBLE 16
57
/* The number of bytes in a long long. */
58
/* #define SIZEOF_LONG_LONG 8 */
60
/* Define if you have the gethostbyaddr function. */
61
#define HAVE_GETHOSTBYADDR 1
63
/* Define if you have the gethostname function. */
64
#define HAVE_GETHOSTNAME 1
66
/* Define if you have the getpass function. */
67
/*#define HAVE_GETPASS 1*/
69
/* Define if you have the getservbyname function. */
70
#define HAVE_GETSERVBYNAME 1
72
/* Define if you have the gettimeofday function. */
73
/* #define HAVE_GETTIMEOFDAY 1 */
75
/* Define if you have the inet_addr function. */
76
#define HAVE_INET_ADDR 1
78
/* Define if you have the inet_ntoa function. */
79
#define HAVE_INET_NTOA 1
81
/* Define if you have the perror function. */
84
/* Define if you have the select function. */
87
/* Define if you have the socket function. */
90
/* Define if you have the strcasecmp function. */
91
/*#define HAVE_STRCASECMP 1*/
93
/* Define if you have the stricmp function. */
94
//#define HAVE_STRICMP 1
96
/* Define if you have the strdup function. */
97
//#define HAVE_STRDUP 1
99
/* Define if you have the strftime function. */
100
//#define HAVE_STRFTIME 1
102
/* Define if you have the strstr function. */
103
#define HAVE_STRSTR 1
105
/* Define if you have the strtoll function. */
107
#define HAVE_STRTOLL 1
110
/* Define if you have the tcgetattr function. */
111
/*#define HAVE_TCGETATTR 1*/
113
/* Define if you have the tcsetattr function. */
114
/*#define HAVE_TCSETATTR 1*/
116
/* Define if you have the uname function. */
117
/*#define HAVE_UNAME 1*/
119
/* Define if you have utime() */
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
/* ---------------------------------------------------------------- */
122
12
/* Define if you have the <alloca.h> header file. */
123
/*#define HAVE_ALLOCA_H 1*/
125
/* Define if you have the malloc.h file. */
126
#define HAVE_MALLOC_H 1
13
/* #define HAVE_ALLOCA_H 1 */
128
15
/* Define if you have the <arpa/inet.h> header file. */
129
16
/* #define HAVE_ARPA_INET_H 1 */
131
18
/* Define if you have the <assert.h> header file. */
132
//#define HAVE_ASSERT_H 1
19
/* #define HAVE_ASSERT_H 1 */
134
21
/* Define if you have the <crypto.h> header file. */
135
/* #undef HAVE_CRYPTO_H */
22
/* #define HAVE_CRYPTO_H 1 */
137
24
/* Define if you have the <dlfcn.h> header file. */
138
/*#define HAVE_DLFCN_H 1*/
25
/* #define HAVE_DLFCN_H 1 */
140
27
/* Define if you have the <err.h> header file. */
141
/* #undef HAVE_ERR_H */
28
/* #define HAVE_ERR_H 1 */
143
30
/* Define if you have the <fcntl.h> header file. */
144
31
#define HAVE_FCNTL_H 1
146
33
/* Define if you have the <getopt.h> header file. */
147
/* #undef HAVE_GETOPT_H */
34
/* #define HAVE_GETOPT_H 1 */
36
/* Define if you have the <io.h> header file. */
39
/* Define if you have the <malloc.h> header file. */
40
#define HAVE_MALLOC_H 1
149
42
/* Define if you have the <netdb.h> header file. */
150
43
/* #define HAVE_NETDB_H 1 */
152
45
/* Define if you have the <netinet/in.h> header file. */
153
/*#define HAVE_NETINET_IN_H 1*/
46
/* #define HAVE_NETINET_IN_H 1 */
155
48
/* Define if you have the <sgtty.h> header file. */
156
/*#define HAVE_SGTTY_H 1*/
49
/* #define HAVE_SGTTY_H 1 */
158
51
/* Define if you have the <ssl.h> header file. */
159
/* #undef HAVE_SSL_H */
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
161
60
/* Define if you have the <sys/param.h> header file. */
162
/*#define HAVE_SYS_PARAM_H 1*/
61
/* #define HAVE_SYS_PARAM_H 1 */
164
63
/* Define if you have the <sys/select.h> header file. */
165
/* #define HAVE_SYS_SELECT_H 1 */
64
/* #define HAVE_SYS_SELECT_H 1 */
167
66
/* Define if you have the <sys/socket.h> header file. */
168
/*#define HAVE_SYS_SOCKET_H 1*/
67
/* #define HAVE_SYS_SOCKET_H 1 */
170
69
/* Define if you have the <sys/sockio.h> header file. */
171
70
/* #define HAVE_SYS_SOCKIO_H 1 */
173
72
/* Define if you have the <sys/stat.h> header file. */
174
73
#define HAVE_SYS_STAT_H 1
75
/* Define if you have the <sys/types.h> header file. */
76
/* #define HAVE_SYS_TYPES_H 1 */
176
78
/* Define if you have the <sys/utime.h> header file */
177
79
#define HAVE_SYS_UTIME_H 1
179
/* Define if you have the <sys/types.h> header file. */
180
//#define HAVE_SYS_TYPES_H 1
182
81
/* Define if you have the <termio.h> header file. */
183
82
/* #define HAVE_TERMIO_H 1 */
185
84
/* Define if you have the <termios.h> header file. */
186
85
/* #define HAVE_TERMIOS_H 1 */
188
/* Name of package */
189
#define PACKAGE "curl"
191
/* Define if you have the <io.h> header file. */
194
87
/* Define if you have the <time.h> header file. */
195
88
#define HAVE_TIME_H 1
90
/* Define if you have the <unistd.h> header file. */
91
#if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__LCC__)
92
#define HAVE_UNISTD_H 1
95
/* Define if you have the <windows.h> header file. */
96
#define HAVE_WINDOWS_H 1
197
98
/* Define if you have the <winsock.h> header file. */
198
99
#define HAVE_WINSOCK_H 1
200
101
/* Define if you have the <winsock2.h> header file. */
201
//#define HAVE_WINSOCK2_H 1
102
/* #define HAVE_WINSOCK2_H 1 */
203
104
/* Define if you have the <ws2tcpip.h> header file. */
204
//#define HAVE_WS2TCPIP_H 1
206
/* Define if you have the <stdlib.h> header file. */
207
#define HAVE_STDLIB_H 1
105
/* #define HAVE_WS2TCPIP_H 1 */
107
/* ---------------------------------------------------------------- */
108
/* OTHER HEADER INFO */
109
/* ---------------------------------------------------------------- */
111
/* Define if you have the ANSI C header files. */
112
#define STDC_HEADERS 1
114
/* Define if you can safely include both <sys/time.h> and <time.h>. */
115
/* #define TIME_WITH_SYS_TIME 1 */
117
/* ---------------------------------------------------------------- */
119
/* ---------------------------------------------------------------- */
209
121
/* Define if you have the closesocket function. */
210
122
#define HAVE_CLOSESOCKET 1
212
/* Define if you have the setvbuf function. */
213
#define HAVE_SETVBUF 1
124
/* Define if you don't have vprintf but do have _doprnt. */
125
/* #define HAVE_DOPRNT 1 */
127
/* Define if you have the gethostbyaddr function. */
128
#define HAVE_GETHOSTBYADDR 1
130
/* Define if you have the gethostname function. */
131
#define HAVE_GETHOSTNAME 1
133
/* Define if you have the getpass function. */
134
/* #define HAVE_GETPASS 1 */
136
/* Define if you have the getservbyname function. */
137
#define HAVE_GETSERVBYNAME 1
139
/* Define if you have the gettimeofday function. */
140
/* #define HAVE_GETTIMEOFDAY 1 */
142
/* Define if you have the inet_addr function. */
143
#define HAVE_INET_ADDR 1
145
/* Define if you have the inet_ntoa function. */
146
#define HAVE_INET_NTOA 1
148
/* Define if you have the ioctlsocket function. */
149
#define HAVE_IOCTLSOCKET 1
151
/* Define if you have the perror function. */
152
#define HAVE_PERROR 1
215
154
/* Define if you have the RAND_screen function when using SSL */
216
155
#define HAVE_RAND_SCREEN 1
218
/* Define if you have the `RAND_status' function. */
157
/* Define if you have the `RAND_status' function when using SSL. */
219
158
#define HAVE_RAND_STATUS 1
221
/* Define this to if in_addr_t is not an available typedefed type */
160
/* Define if you have the select function. */
161
#define HAVE_SELECT 1
163
/* Define if you have the setvbuf function. */
164
#define HAVE_SETVBUF 1
166
/* Define if you have the socket function. */
167
#define HAVE_SOCKET 1
169
/* Define if you have the strcasecmp function. */
170
/* #define HAVE_STRCASECMP 1 */
172
/* Define if you have the stricmp function. */
173
/* #define HAVE_STRICMP 1 */
175
/* Define if you have the strdup function. */
176
/* #define HAVE_STRDUP 1 */
178
/* Define if you have the strftime function. */
179
/* #define HAVE_STRFTIME 1 */
181
/* Define if you have the strstr function. */
182
#define HAVE_STRSTR 1
184
/* Define if you have the strtoll function. */
185
#if defined(__MINGW32__) || defined(__WATCOMC__)
186
#define HAVE_STRTOLL 1
189
/* Define if you have the tcgetattr function. */
190
/* #define HAVE_TCGETATTR 1 */
192
/* Define if you have the tcsetattr function. */
193
/* #define HAVE_TCSETATTR 1 */
195
/* Define if you have the uname function. */
196
/* #define HAVE_UNAME 1 */
198
/* Define if you have the utime function */
201
/* Define if you have the vprintf function. */
202
#define HAVE_VPRINTF 1
204
/* ---------------------------------------------------------------- */
205
/* TYPEDEF REPLACEMENTS */
206
/* ---------------------------------------------------------------- */
208
/* Define this if in_addr_t is not an available 'typedefed' type */
222
209
#define in_addr_t unsigned long
224
/* use ioctlsocket() for non-blocking sockets */
225
#define HAVE_IOCTLSOCKET
227
/*************************************************
228
* This section is for compiler specific defines.*
229
*************************************************/
230
/* Borland and MS don't have this */
231
#if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__LCC__)
233
/* Define if you have the <unistd.h> header file. */
234
#define HAVE_UNISTD_H 1
242
#define CURL_DISABLE_FILE
244
#define CURL_DISABLE_TELNET
245
#define CURL_DISABLE_LDAP
246
#define WITHOUT_MM_LIB
211
/* Define as the return type of signal handlers (int or void). */
212
/* #define RETSIGTYPE void */
214
/* Define to `unsigned' if size_t is not an available 'typedefed' type */
215
/* #define size_t unsigned */
217
/* Define to 'int' if ssize_t is not an available 'typedefed' type */
220
/* Define to 'int' if socklen_t is not an available 'typedefed' type */
221
#ifndef HAVE_WS2TCPIP_H
222
#define socklen_t int
225
/* ---------------------------------------------------------------- */
227
/* ---------------------------------------------------------------- */
229
/* The number of bytes in a long double. */
230
#define SIZEOF_LONG_DOUBLE 16
232
/* The number of bytes in a long long. */
233
/* #define SIZEOF_LONG_LONG 8 */
235
/* Undef SIZEOF_CURL_OFF_T if already defined. */
236
#ifdef SIZEOF_CURL_OFF_T
237
#undef SIZEOF_CURL_OFF_T
240
/* Define SIZEOF_CURL_OFF_T as computed by sizeof(curl_off_t) */
241
#define SIZEOF_CURL_OFF_T 4
243
/* ---------------------------------------------------------------- */
245
/* ---------------------------------------------------------------- */
247
/* Define this if you have struct sockaddr_storage */
248
/* #define HAVE_STRUCT_SOCKADDR_STORAGE 1 */
250
/* ---------------------------------------------------------------- */
251
/* COMPILER SPECIFIC */
252
/* ---------------------------------------------------------------- */
254
/* Undef keyword 'const' if it does not work. */
257
/* ---------------------------------------------------------------- */
258
/* LDAP LIBRARY FILES */
259
/* ---------------------------------------------------------------- */
261
/* lber dynamic library file */
262
/* #define DL_LBER_FILE */
264
/* ldap dynamic library file */
265
/* #define DL_LDAP_FILE "wldap32.dll" */
267
/* ---------------------------------------------------------------- */
268
/* ADDITIONAL DEFINITIONS */
269
/* ---------------------------------------------------------------- */
271
/* Defines set for VS2005 to _not_ deprecate a few functions we use. */
272
#define _CRT_SECURE_NO_DEPRECATE 1
273
#define _CRT_NONSTDC_NO_DEPRECATE 1
275
/* Define cpu-machine-OS */
277
#define OS "i386-pc-win32ce"
279
/* Name of package */
280
#define PACKAGE "curl"
282
/* ---------------------------------------------------------------- */
284
/* ---------------------------------------------------------------- */
286
#define CURL_DISABLE_FILE 1
287
#define CURL_DISABLE_TELNET 1
288
#define CURL_DISABLE_LDAP 1
289
#define WITHOUT_MM_LIB 1
291
#ifdef HAVE_WINDOWS_H
292
# ifndef WIN32_LEAN_AND_MEAN
293
# define WIN32_LEAN_AND_MEAN
295
# include <windows.h>
296
# ifdef HAVE_WINSOCK2_H
297
# include <winsock2.h>
298
# ifdef HAVE_WS2TCPIP_H
299
# include <ws2tcpip.h>
302
# ifdef HAVE_WINSOCK_H
303
# include <winsock.h>
306
# include <process.h>