Fix compilation for MSVC

curlbuild.h comes from the mingw build process, which includes
inttypes.h that does not exist for MSVC.

Reported by Ensiform.
This commit is contained in:
dhewg 2012-01-15 13:23:29 +01:00
parent df3d75bfea
commit 4472eb6f8e
2 changed files with 2 additions and 2 deletions

View file

@ -140,7 +140,7 @@
/* Configure process defines this to 1 when it finds out that system */
/* header file inttypes.h must be included by the external interface. */
#define CURL_PULL_INTTYPES_H 1
//#define CURL_PULL_INTTYPES_H 1
#ifdef CURL_PULL_INTTYPES_H
# include <inttypes.h>
#endif

View file

@ -140,7 +140,7 @@
/* Configure process defines this to 1 when it finds out that system */
/* header file inttypes.h must be included by the external interface. */
#define CURL_PULL_INTTYPES_H 1
//#define CURL_PULL_INTTYPES_H 1
#ifdef CURL_PULL_INTTYPES_H
# include <inttypes.h>
#endif