~ubuntu-branches/ubuntu/lucid/curl/lucid-security

« back to all changes in this revision

Viewing changes to lib/config-win32ce.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2009-04-29 11:10:29 UTC
  • mfrom: (3.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090429111029-2j5eiyokfw2bw049
Tags: 7.19.4-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Drop build dependencies: stunnel, libdb4.6-dev, libssh2-1-dev
  - Add build-dependency on openssh-server
  - Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.
  - Call automake-1.9 with --add-missing --copy --force
* drop debian/patches/security_CVE-2009-0037.patch 
  - this patch is part of 7.19.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
/* Define if you have the inet_addr function.  */
146
146
#define HAVE_INET_ADDR 1
147
147
 
148
 
/* Define if you have the inet_ntoa function.  */
149
 
#define HAVE_INET_NTOA 1
150
 
 
151
 
/* Define if you have the ioctlsocket function.  */
 
148
/* Define if you have the ioctlsocket function. */
152
149
#define HAVE_IOCTLSOCKET 1
153
150
 
 
151
/* Define if you have a working ioctlsocket FIONBIO function. */
 
152
#define HAVE_IOCTLSOCKET_FIONBIO 1
 
153
 
154
154
/* Define if you have the perror function.  */
155
155
#define HAVE_PERROR 1
156
156
 
172
172
/* Define if you have the strcasecmp function.  */
173
173
/* #define HAVE_STRCASECMP 1 */
174
174
 
175
 
/* Define if you have the stricmp function.  */
176
 
/* #define HAVE_STRICMP 1 */
177
 
 
178
175
/* Define if you have the strdup function.  */
179
176
/* #define HAVE_STRDUP 1 */
180
177
 
181
178
/* Define if you have the strftime function.  */
182
179
/* #define HAVE_STRFTIME 1 */
183
180
 
 
181
/* Define if you have the stricmp function. */
 
182
/* #define HAVE_STRICMP 1 */
 
183
 
 
184
/* Define if you have the strncasecmp function. */
 
185
/* #define HAVE_STRNCASECMP 1 */
 
186
 
 
187
/* Define if you have the strnicmp function. */
 
188
/* #define HAVE_STRNICMP 1 */
 
189
 
184
190
/* Define if you have the strstr function.  */
185
191
#define HAVE_STRSTR 1
186
192
 
234
240
/* Define to the function return type for recv. */
235
241
#define RECV_TYPE_RETV int
236
242
 
 
243
/* Define if you have the recvfrom function. */
 
244
#define HAVE_RECVFROM 1
 
245
 
 
246
/* Define to the type of arg 1 for recvfrom. */
 
247
#define RECVFROM_TYPE_ARG1 SOCKET
 
248
 
 
249
/* Define to the type pointed by arg 2 for recvfrom. */
 
250
#define RECVFROM_TYPE_ARG2 char
 
251
 
 
252
/* Define to the type of arg 3 for recvfrom. */
 
253
#define RECVFROM_TYPE_ARG3 int
 
254
 
 
255
/* Define to the type of arg 4 for recvfrom. */
 
256
#define RECVFROM_TYPE_ARG4 int
 
257
 
 
258
/* Define to the type pointed by arg 5 for recvfrom. */
 
259
#define RECVFROM_TYPE_ARG5 struct sockaddr
 
260
 
 
261
/* Define to the type pointed by arg 6 for recvfrom. */
 
262
#define RECVFROM_TYPE_ARG6 int
 
263
 
 
264
/* Define to the function return type for recvfrom. */
 
265
#define RECVFROM_TYPE_RETV int
 
266
 
237
267
/* Define if you have the send function. */
238
268
#define HAVE_SEND 1
239
269
 
283
313
/* The number of bytes in a long long.  */
284
314
/* #define SIZEOF_LONG_LONG 8 */
285
315
 
286
 
/* Undef SIZEOF_CURL_OFF_T if already defined. */
287
 
#ifdef SIZEOF_CURL_OFF_T
288
 
#undef SIZEOF_CURL_OFF_T
289
 
#endif
290
 
 
291
 
/* Define SIZEOF_CURL_OFF_T as computed by sizeof(curl_off_t) */
292
 
#define SIZEOF_CURL_OFF_T 4
293
 
 
294
316
/* ---------------------------------------------------------------- */
295
317
/*                          STRUCT RELATED                          */
296
318
/* ---------------------------------------------------------------- */
301
323
/* Define this if you have struct timeval */
302
324
#define HAVE_STRUCT_TIMEVAL 1
303
325
 
 
326
/* Define this if struct sockaddr_in6 has the sin6_scope_id member */
 
327
#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
 
328
 
304
329
/* ---------------------------------------------------------------- */
305
330
/*                        COMPILER SPECIFIC                         */
306
331
/* ---------------------------------------------------------------- */
325
350
#endif
326
351
 
327
352
/* ---------------------------------------------------------------- */
 
353
/*                        LARGE FILE SUPPORT                        */
 
354
/* ---------------------------------------------------------------- */
 
355
 
 
356
#if defined(_MSC_VER) && !defined(_WIN32_WCE)
 
357
#  if (_MSC_VER >= 900) && (_INTEGRAL_MAX_BITS >= 64)
 
358
#    define USE_WIN32_LARGE_FILES
 
359
#  else
 
360
#    define USE_WIN32_SMALL_FILES
 
361
#  endif
 
362
#endif
 
363
 
 
364
#if !defined(USE_WIN32_LARGE_FILES) && !defined(USE_WIN32_SMALL_FILES)
 
365
#  define USE_WIN32_SMALL_FILES
 
366
#endif
 
367
 
 
368
/* ---------------------------------------------------------------- */
328
369
/*                           LDAP SUPPORT                           */
329
370
/* ---------------------------------------------------------------- */
330
371
 
351
392
#define CURL_DISABLE_TELNET 1
352
393
#define CURL_DISABLE_LDAP 1
353
394
 
354
 
#ifdef HAVE_WINDOWS_H
355
 
#  ifndef WIN32_LEAN_AND_MEAN
356
 
#    define WIN32_LEAN_AND_MEAN
357
 
#  endif
358
 
#  include <windows.h>
359
 
#  ifdef HAVE_WINSOCK2_H
360
 
#    include <winsock2.h>
361
 
#    ifdef HAVE_WS2TCPIP_H
362
 
#       include <ws2tcpip.h>
363
 
#    endif
364
 
#  else
365
 
#    ifdef HAVE_WINSOCK_H
366
 
#      include <winsock.h>
367
 
#    endif
368
 
#  endif
369
 
#  include <process.h>
370
 
#endif
371
 
 
372
395
#define ENOSPC 1
373
396
#define ENOMEM 2
374
397
#define EAGAIN 3