From: Viktor Szakats Date: Tue, 18 Mar 2025 10:17:01 +0000 (+0100) Subject: config-win32: set `HAVE_STDINT_H` where available X-Git-Tag: curl-8_13_0~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37e013fc164c0b72d263449ca45280090cbbdc88;p=thirdparty%2Fcurl.git config-win32: set `HAVE_STDINT_H` where available For winbuild and VS project builds. Follow-up to 1ecf2f11136f967deff6d2c124127250d2756c48 #16585 Closes #16759 --- 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