[gtk+] Update config.h.win32.in for Visual C++ 2013



commit 37d074da538e5167b0c60d7eeaad05c4af8fdbb8
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed Dec 18 11:41:53 2013 +0800

    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 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/config.h.win32.in b/config.h.win32.in
index 3ab9402..8674291 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 <inttypes.h> 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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]