~ubuntu-branches/ubuntu/gutsy/curl/gutsy

« back to all changes in this revision

Viewing changes to lib/config-win32ce.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-06-29 15:04:24 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20060629150424-be178abcwks1n519
Tags: upstream-7.15.4
ImportĀ upstreamĀ versionĀ 7.15.4

Show diffs side-by-side

added added

removed removed

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