From 0be9ca6bf3afdb3af84cd71a1eff9629f699f4f2 Mon Sep 17 00:00:00 2001 From: thunder2 Date: Mon, 3 Jan 2022 12:22:10 +0100 Subject: [PATCH] Fixed redefined warning for Windows build --- src/util/rswin.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/rswin.h b/src/util/rswin.h index 22e2ead96..07709a052 100644 --- a/src/util/rswin.h +++ b/src/util/rswin.h @@ -34,6 +34,7 @@ #include // For win32 systems (tested on MingW+Ubuntu) +#undef stat64 #define stat64 _stati64 // Should be in Iphlpapi.h, but mingw doesn't seem to have these