Mercurial > dwindows
comparison dwcompat.h @ 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 | f99414164f5b |
comparison
equal
deleted
inserted
replaced
2823:b1ff739d0dbc | 2824:22327163b35c |
---|---|
273 #include <stdlib.h> | 273 #include <stdlib.h> |
274 #include <stddef.h> | 274 #include <stddef.h> |
275 #include <signal.h> | 275 #include <signal.h> |
276 #include <fcntl.h> | 276 #include <fcntl.h> |
277 | 277 |
278 #if !defined(_MSC_VER) | 278 #if !defined(_MSC_VER) && !defined(__MINGW32__) |
279 #ifndef __WATCOMC__ | 279 #ifndef __WATCOMC__ |
280 #include <sys/time.h> | 280 #include <sys/time.h> |
281 #endif | 281 #endif |
282 #include <sys/socket.h> | 282 #include <sys/socket.h> |
283 #include <sys/un.h> | 283 #include <sys/un.h> |