~ubuntu-branches/ubuntu/lucid/curl/lucid-201101212007

« back to all changes in this revision

Viewing changes to lib/config-win32.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2008-02-08 11:20:41 UTC
  • mto: (3.1.1 lenny) (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: james.westby@ubuntu.com-20080208112041-hed7sb5r6ghmjf8v
Tags: upstream-7.18.0
ImportĀ upstreamĀ versionĀ 7.18.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
347
347
#define HAVE_LONGLONG 1
348
348
#endif
349
349
 
 
350
/* Define to avoid VS2005 complaining about portable C functions */
 
351
#if defined(_MSC_VER) && (_MSC_VER >= 1400)
 
352
#define _CRT_SECURE_NO_DEPRECATE 1
 
353
#define _CRT_NONSTDC_NO_DEPRECATE 1
 
354
#endif
 
355
 
 
356
/* VS2008 does not support Windows build targets prior to WinXP, */
 
357
/* so, if no build target has been defined we will target WinXP. */
 
358
#if defined(_MSC_VER) && (_MSC_VER >= 1500)
 
359
#  ifndef _WIN32_WINNT
 
360
#    define _WIN32_WINNT 0x0501
 
361
#  endif
 
362
#  ifndef WINVER
 
363
#    define WINVER 0x0501
 
364
#  endif
 
365
#  if (_WIN32_WINNT < 0x0501) || (WINVER < 0x0501)
 
366
#    error VS2008 does not support Windows build targets prior to WinXP
 
367
#  endif
 
368
#endif
 
369
 
350
370
/* ---------------------------------------------------------------- */
351
371
/*                           LDAP SUPPORT                           */
352
372
/* ---------------------------------------------------------------- */
370
390
/*                       ADDITIONAL DEFINITIONS                     */
371
391
/* ---------------------------------------------------------------- */
372
392
 
373
 
/* Defines set for VS2005 to _not_ deprecate a few functions we use. */
374
 
#define _CRT_SECURE_NO_DEPRECATE 1
375
 
#define _CRT_NONSTDC_NO_DEPRECATE 1
376
 
 
377
393
/* Define cpu-machine-OS */
378
394
#undef OS
379
395
#if defined(_M_IX86) || defined(__i386__) /* x86 (MSVC or gcc) */