From 41de9eff2ce5a65ae2f915bb466c2b8dcc8a51a5 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Fri, 22 Apr 2011 18:57:49 +0800 Subject: [PATCH] Update config.h.win32(.in) for VS 2010 VS 2010 ships with stdint.h, so update the file. --- config.h.win32.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config.h.win32.in b/config.h.win32.in index a94aa0b9a..07bffcb54 100644 --- a/config.h.win32.in +++ b/config.h.win32.in @@ -446,7 +446,11 @@ #ifndef _MSC_VER #define HAVE_STDINT_H 1 #else /* _MSC_VER */ +#if (_MSC_VER >= 1600) /*VS 2010 ships with stdint.h*/ +#define HAVE_STDINT_H 1 +#else /* #undef HAVE_STDINT_H */ +#endif #endif /* _MSC_VER */ /* Define if exists, doesn't clash with , and declares @@ -454,7 +458,11 @@ #ifndef _MSC_VER #define HAVE_STDINT_H_WITH_UINTMAX 1 #else /* _MSC_VER */ +#if (_MSC_VER >= 1600) +#define HAVE_STDINT_H_WITH_UINTMAX 1 +#else /* #undef HAVE_STDINT_H_WITH_UINTMAX */ +#endif #endif /* _MSC_VER */ /* Define to 1 if you have the header file. */