Add CI test for mingw/wine on linux

This commit is contained in:
Ico Doornekamp
2023-05-18 15:15:41 +02:00
parent 148917d4ca
commit a6a097c111
2 changed files with 22 additions and 0 deletions
+5
View File
@@ -50,6 +50,11 @@
#define WIN32_LEAN_AND_MEAN
#endif
/* needed for inet_pton and InitializeSRWLock */
#ifdef __MINGW32__
#define _WIN32_WINNT _WIN32_WINNT_VISTA
#endif
/* Needed for realpath on linux, as well as pthread rwlocks. */
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 600