Integrated upstream changes, since I forgot to pull before making local changes.

This commit is contained in:
2024-03-11 01:32:56 -05:00
5 changed files with 6 additions and 5 deletions

View File

@@ -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>

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