Replaced 'linux' with '__unix__' because the same header files are included on macOS as well.

This commit is contained in:
2024-03-05 07:50:32 -05:00
parent 0e504060cf
commit 64aa4b1850
4 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
#define _SOCK_CLASS
#include <string>
#ifdef linux
#ifdef __unix__
#include <sys/socket.h>
#endif
#ifdef _WIN32