From 014594347e58bbfe6b6f88569c3b71f1c672e5a6 Mon Sep 17 00:00:00 2001
From: Alexey Pavlov <alexpux@gmail.com>
Date: Fri, 5 Sep 2025 19:02:36 +0300
Subject: [PATCH 172/N] Add flag for 64-bit time in configure script

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index d3c9a8f..b2ff159 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2646,7 +2646,7 @@ yes)
     # this only occues on mingw
     case $host in
     *-*-mingw*)
-        CFLAGS_NODIST="$CFLAGS_NODIST -Wno-error=incompatible-pointer-types"
+        CFLAGS_NODIST="$CFLAGS_NODIST -Wno-error=incompatible-pointer-types -D__MINGW_USE_VC2005_COMPAT"
       ;;
     esac
 
