From 706e956f2bd5114a0557ae888279992c25cc9dd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fred=20Helmesj=C3=B6?= Date: Tue, 20 Sep 2022 15:11:46 +0200 Subject: [PATCH] Update HAVE_INTTYPES_H for Windows (GH PR #51) --- .../libbuild2/autoconf/checks/HAVE_INTTYPES_H.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_INTTYPES_H.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_INTTYPES_H.h index 98514cf..b7a93ab 100644 --- a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_INTTYPES_H.h +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_INTTYPES_H.h @@ -7,12 +7,14 @@ #undef HAVE_INTTYPES_H /* Since OpenBSD 3.9, FreeBSD 5.0, NetBSD 5.0, Mac OS X 10.3 - * and glibc 2.2. + * glibc 2.2, Mingw-w64 2.0, Platform SDK 10. */ #if BUILD2_AUTOCONF_OPENBSD_PREREQ(200601) || \ BUILD2_AUTOCONF_FREEBSD_PREREQ(2, 3) || \ BUILD2_AUTOCONF_NETBSD_PREREQ(5, 0) || \ BUILD2_AUTOCONF_MACOS_PREREQ(10, 3) || \ - BUILD2_AUTOCONF_GLIBC_PREREQ(2, 2) + BUILD2_AUTOCONF_GLIBC_PREREQ(2, 2) || \ + BUILD2_AUTOCONF_MINGW_PREREQ(2, 0) || \ + defined(_MSC_VER) # define HAVE_INTTYPES_H 1 #endif