Fix build on macOS #183

Merged
P-AS merged 2 commits from mac-fixes into Saturn 2025-06-12 22:46:39 +02:00
2 changed files with 5 additions and 2 deletions

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@
#include <unistd.h>
#endif
#ifdef __unix__
#if defined (__unix__) || defined(__APPLE__) || defined (UNIXCOMMON)
#include <errno.h>
#endif
+4 -1
View File
@@ -110,8 +110,11 @@ typedef LPVOID (WINAPI *p_MapViewOfFile) (HANDLE, DWORD, DWORD, DWORD, SIZE_T);
#endif
#endif
#if defined (__unix__) || (defined (UNIXCOMMON) && !defined (__APPLE__))
#if defined(UNIXCOMMON)
#include <poll.h>
#endif
#if defined (__unix__) || (defined (UNIXCOMMON) && !defined (__APPLE__))
#include <errno.h>
#include <sys/wait.h>
#define NEWSIGNALHANDLER