[libxml2] Use stdint.h with newer MSVC



commit f025d6ebd02aa1d8370b8429aa924001ee8d45a8
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Fri Mar 4 01:32:04 2022 +0100

    Use stdint.h with newer MSVC
    
    stdint.h is available since Visual Studio 2010.

 include/win32config.h | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/include/win32config.h b/include/win32config.h
index 33b818f7..79569adb 100644
--- a/include/win32config.h
+++ b/include/win32config.h
@@ -8,6 +8,10 @@
 #define HAVE_STAT
 #define HAVE_FCNTL_H
 
+#if defined(__MINGW32__) || (defined(_MSC_VER) && _MSC_VER >= 1600)
+#define HAVE_STDINT_H
+#endif
+
 #if defined(_MSC_VER) && _MSC_VER < 1900
 #define snprintf _snprintf
 #define vsnprintf _vsnprintf


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