mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-29 12:34:17 +01:00
17 lines
216 B
C
17 lines
216 B
C
#pragma once
|
|
|
|
#if BOOST_OS_WINDOWS
|
|
|
|
#include <WinSock2.h>
|
|
typedef int socklen_t;
|
|
|
|
#else
|
|
|
|
#include <sys/socket.h>
|
|
#define SOCKET int
|
|
#define closesocket close
|
|
#define SOCKET_ERROR -1
|
|
#define INVALID_SOCKET -1
|
|
|
|
#endif
|