Merge pull request #183 from P-AS/mac-fixes

Fix build on macOS
This commit was merged in pull request #183.
This commit is contained in:
Alug authored and GitHub committed 2025-06-12 21:46:39 +01:00
commit 78b642cf2d
2 files changed
+5 -2

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