From 37e013fc164c0b72d263449ca45280090cbbdc88 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 18 Mar 2025 11:17:01 +0100 Subject: [PATCH] config-win32: set `HAVE_STDINT_H` where available For winbuild and VS project builds. Follow-up to 1ecf2f11136f967deff6d2c124127250d2756c48 #16585 Closes #16759 --- lib/config-win32.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/config-win32.h b/lib/config-win32.h index 4ef2bd3b19..f62f5bece3 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -61,6 +61,11 @@ #endif #endif +/* Define to 1 if you have the header file. */ +#if (defined(_MSC_VER) && (_MSC_VER >= 1600)) || defined(__MINGW32__) +#define HAVE_STDINT_H 1 +#endif + /* Define if you have the header file. */ #ifdef __MINGW32__ #define HAVE_SYS_PARAM_H 1 -- 2.47.2