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

« back to all changes in this revision

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