Updated UNIX macro checks, to account for MacOS
This commit is contained in:
@@ -9,7 +9,7 @@ extern "C" {
|
||||
#include <winsock.h>
|
||||
#include <ws2tcpip.h>
|
||||
#endif
|
||||
#ifdef __unix__
|
||||
#if defined(__unix) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__))
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netdb.h>
|
||||
|
Reference in New Issue
Block a user