restore include paths for cross-platform builds because i messed absolutely every #include up. dont worry that everything is modified, all i did was normalize line endings because CLRF snuck into the repo and this prevents fake diffs
This commit is contained in:
@@ -1,25 +1,25 @@
|
||||
#include "RakNetSocket.h"
|
||||
#include "SocketIncludes.h"
|
||||
#include "SocketDefines.h"
|
||||
|
||||
using namespace RakNet;
|
||||
|
||||
RakNetSocket::RakNetSocket() {
|
||||
s = (unsigned int)-1;
|
||||
#if defined (_WIN32) && defined(USE_WAIT_FOR_MULTIPLE_EVENTS)
|
||||
recvEvent=INVALID_HANDLE_VALUE;
|
||||
#endif
|
||||
}
|
||||
RakNetSocket::~RakNetSocket()
|
||||
{
|
||||
if ((SOCKET)s != (SOCKET)-1)
|
||||
closesocket__(s);
|
||||
|
||||
#if defined (_WIN32) && defined(USE_WAIT_FOR_MULTIPLE_EVENTS)
|
||||
if (recvEvent!=INVALID_HANDLE_VALUE)
|
||||
{
|
||||
CloseHandle( recvEvent );
|
||||
recvEvent = INVALID_HANDLE_VALUE;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#include "RakNetSocket.h"
|
||||
#include "SocketIncludes.h"
|
||||
#include "SocketDefines.h"
|
||||
|
||||
using namespace RakNet;
|
||||
|
||||
RakNetSocket::RakNetSocket() {
|
||||
s = (unsigned int)-1;
|
||||
#if defined (_WIN32) && defined(USE_WAIT_FOR_MULTIPLE_EVENTS)
|
||||
recvEvent=INVALID_HANDLE_VALUE;
|
||||
#endif
|
||||
}
|
||||
RakNetSocket::~RakNetSocket()
|
||||
{
|
||||
if ((SOCKET)s != (SOCKET)-1)
|
||||
closesocket__(s);
|
||||
|
||||
#if defined (_WIN32) && defined(USE_WAIT_FOR_MULTIPLE_EVENTS)
|
||||
if (recvEvent!=INVALID_HANDLE_VALUE)
|
||||
{
|
||||
CloseHandle( recvEvent );
|
||||
recvEvent = INVALID_HANDLE_VALUE;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user