mirror of
https://github.com/curl/curl.git
synced 2026-07-26 07:17:16 +03:00
Based on feedback from Cory Nelson, I added some preprocessor magic in
*/setup.h and */config-win32.h to build fine with VS2005 on x64.
This commit is contained in:
parent
b8bc6bed97
commit
a8ff0a21bf
5 changed files with 21 additions and 1 deletions
|
|
@ -37,6 +37,10 @@
|
|||
/* Define if you have the setlocale() function. */
|
||||
#define HAVE_SETLOCALE 1
|
||||
|
||||
/* Defines set for VS2005 to _not_ decprecate a few functions we use. */
|
||||
#define _CRT_SECURE_NO_DEPRECATE
|
||||
#define _CRT_NONSTDC_NO_DEPRECATE
|
||||
|
||||
/*************************************************
|
||||
* This section is for compiler specific defines.*
|
||||
*************************************************/
|
||||
|
|
|
|||
|
|
@ -29,6 +29,10 @@
|
|||
/* Borland fix */
|
||||
#define WIN32
|
||||
#endif
|
||||
#if !defined(WIN32) && defined(_WIN32)
|
||||
/* This works for VS2005 on x64 */
|
||||
#define WIN32
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h" /* the configure script results */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue