From 37d074da538e5167b0c60d7eeaad05c4af8fdbb8 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Wed, 18 Dec 2013 11:41:53 +0800 Subject: [PATCH] Update config.h.win32.in for Visual C++ 2013 A number of C99 math.h functions, along with inttypes.h were included for Visual C++ 2013, along with much improved C99 capabilities, so update config.h.win32.in to reflect this. --- config.h.win32.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config.h.win32.in b/config.h.win32.in index 3ab94022dd..8674291207 100644 --- a/config.h.win32.in +++ b/config.h.win32.in @@ -40,13 +40,13 @@ /* Define to 1 if you have the declaration of `isinf', and to 0 if you don't. */ -#ifndef _MSC_VER +#if !defined (_MSC_VER) || (_MSC_VER >= 1800) #define HAVE_DECL_ISINF 1 #endif /* Define to 1 if you have the declaration of `isnan', and to 0 if you don't. */ -#ifndef _MSC_VER +#if !defined (_MSC_VER) || (_MSC_VER >= 1800) #define HAVE_DECL_ISNAN 1 #endif @@ -82,7 +82,7 @@ /* #undef HAVE_HTTP_AUTHSTRING */ /* Define to 1 if you have the header file. */ -#ifndef _MSC_VER +#if !defined (_MSC_VER) || (_MSC_VER >= 1800) #define HAVE_INTTYPES_H 1 #else /* #undef HAVE_INTTYPES_H */ @@ -121,7 +121,7 @@ /* #undef HAVE_MMAP */ /* Define to 1 if nearbyint() is available */ -#ifndef _MSC_VER +#if !defined (_MSC_VER) || (_MSC_VER >= 1800) #define HAVE_NEARBYINT 1 #endif @@ -135,12 +135,12 @@ /* #undef HAVE_RANDR */ /* Define to 1 if rint() is available */ -#ifndef _MSC_VER +#if !defined (_MSC_VER) || (_MSC_VER >= 1800) #define HAVE_RINT 1 #endif /* Define to 1 if round() is available */ -#ifndef _MSC_VER +#if !defined (_MSC_VER) || (_MSC_VER >= 1800) #define HAVE_ROUND 1 #endif