Updated UNIX macro checks, to account for MacOS

This commit is contained in:
2024-03-10 00:50:53 -06:00
parent 2c7d1d0b43
commit 6acbf90d80
4 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
#define _SOCK_CLASS
#include <string>
#ifdef __unix__
#if defined(__unix__) || defined(__unix) ||(defined(__APPLE__) && defined(__MACH__))
#include <sys/socket.h>
#endif
#ifdef _WIN32