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. */