diff options
author | comex <comexk@gmail.com> | 2020-08-31 16:09:06 +0200 |
---|---|---|
committer | comex <comexk@gmail.com> | 2020-12-07 00:56:40 +0100 |
commit | 0e122c13ad42c9b782d556bfb1d6541499cd650e (patch) | |
tree | 899ffb51a317e1ee5c1c9a9df8ffc4614285f411 /src/core/network/sockets.h | |
parent | Merge pull request #5146 from comex/xx-num (diff) | |
download | yuzu-0e122c13ad42c9b782d556bfb1d6541499cd650e.tar yuzu-0e122c13ad42c9b782d556bfb1d6541499cd650e.tar.gz yuzu-0e122c13ad42c9b782d556bfb1d6541499cd650e.tar.bz2 yuzu-0e122c13ad42c9b782d556bfb1d6541499cd650e.tar.lz yuzu-0e122c13ad42c9b782d556bfb1d6541499cd650e.tar.xz yuzu-0e122c13ad42c9b782d556bfb1d6541499cd650e.tar.zst yuzu-0e122c13ad42c9b782d556bfb1d6541499cd650e.zip |
Diffstat (limited to 'src/core/network/sockets.h')
-rw-r--r-- | src/core/network/sockets.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/network/sockets.h b/src/core/network/sockets.h index 7bdff0fe4..a44393325 100644 --- a/src/core/network/sockets.h +++ b/src/core/network/sockets.h @@ -9,7 +9,7 @@ #if defined(_WIN32) #include <winsock.h> -#elif !defined(__unix__) +#elif !YUZU_UNIX #error "Platform not implemented" #endif @@ -84,7 +84,7 @@ public: #if defined(_WIN32) SOCKET fd = INVALID_SOCKET; -#elif defined(__unix__) +#elif YUZU_UNIX int fd = -1; #endif }; |