changeset 2824:22327163b35c

Win: Attempt to fix MingW64 builds, _MSC_VER seems to no longer be defined... So check for __MINGW32__ as well as _MSC_VER.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 16 Aug 2022 17:24:29 +0000
parents b1ff739d0dbc
children 69e144d81f19
files dwcompat.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dwcompat.h	Sun Aug 14 15:36:36 2022 +0000
+++ b/dwcompat.h	Tue Aug 16 17:24:29 2022 +0000
@@ -275,7 +275,7 @@
 #include <signal.h>
 #include <fcntl.h>
 
-#if !defined(_MSC_VER)
+#if !defined(_MSC_VER) && !defined(__MINGW32__)
 #ifndef __WATCOMC__
 #include <sys/time.h>
 #endif