]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
config-win32: set `HAVE_STDINT_H` where available
authorViktor Szakats <commit@vsz.me>
Tue, 18 Mar 2025 10:17:01 +0000 (11:17 +0100)
committerViktor Szakats <commit@vsz.me>
Tue, 18 Mar 2025 11:23:44 +0000 (12:23 +0100)
For winbuild and VS project builds.

Follow-up to 1ecf2f11136f967deff6d2c124127250d2756c48 #16585

Closes #16759

lib/config-win32.h

index 4ef2bd3b1950d756d07781f4a31dc3a8e4ba88cf..f62f5bece31dc694a1bd00bc505263c32c6e4e92 100644 (file)
 #endif
 #endif
 
+/* Define to 1 if you have the <stdint.h> header file. */
+#if (defined(_MSC_VER) && (_MSC_VER >= 1600)) || defined(__MINGW32__)
+#define HAVE_STDINT_H 1
+#endif
+
 /* Define if you have the <sys/param.h> header file. */
 #ifdef __MINGW32__
 #define HAVE_SYS_PARAM_H 1