Cemu/src/Common/socket.h

17 lines
220 B
C
Raw Normal View History

2022-08-22 22:21:23 +02:00
#pragma once
#if BOOST_OS_WINDOWS > 0
#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