mirror of
https://github.com/curl/curl.git
synced 2026-08-04 19:26:13 +03:00
MSVC versions prior to VS2005 do not complain about portable C functions
This commit is contained in:
parent
cbd1a77ec2
commit
dee3844f13
4 changed files with 28 additions and 12 deletions
|
|
@ -181,14 +181,16 @@
|
|||
#define HAVE_LONGLONG 1
|
||||
#endif
|
||||
|
||||
/* Define to avoid VS2005 complaining about portable C functions */
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1400)
|
||||
#define _CRT_SECURE_NO_DEPRECATE 1
|
||||
#define _CRT_NONSTDC_NO_DEPRECATE 1
|
||||
#endif
|
||||
|
||||
/* ---------------------------------------------------------------- */
|
||||
/* ADDITIONAL DEFINITIONS */
|
||||
/* ---------------------------------------------------------------- */
|
||||
|
||||
/* Defines set for VS2005 to _not_ deprecate a few functions we use. */
|
||||
#define _CRT_SECURE_NO_DEPRECATE 1
|
||||
#define _CRT_NONSTDC_NO_DEPRECATE 1
|
||||
|
||||
/* Define cpu-machine-OS */
|
||||
#ifndef OS
|
||||
#define OS "i386-pc-win32"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue