From cd36ce80a8dec4d66de4039ef6a17e6b61498d64 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 --- libretroshare/src/util/rswin.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libretroshare/src/util/rswin.h b/libretroshare/src/util/rswin.h index 22e2ead96..07709a052 100644 --- a/libretroshare/src/util/rswin.h +++ b/libretroshare/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