mirror of
https://github.com/rajkosto/mxoemu
synced 2026-08-14 02:26:05 -04:00
Fix Linux GCC compile
This commit is contained in:
parent
d2a564f0ed
commit
4bc15e2fae
4 changed files with 1888 additions and 1884 deletions
3766
Reality/.cproject
3766
Reality/.cproject
File diff suppressed because it is too large
Load diff
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
#include "Crypto.h"
|
||||
#include "SequencedPacket.h"
|
||||
#include "Sockets.h"
|
||||
|
||||
class GameClient
|
||||
{
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
#include "GameClient.h"
|
||||
#include "Singleton.h"
|
||||
#include "Sockets.h"
|
||||
|
||||
#define RECV_BUFFER_SIZE 1024
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,9 @@
|
|||
|
||||
#if PLATFORM == PLATFORM_WIN32
|
||||
#include <winsock2.h>
|
||||
#ifndef EWOULDBLOCK
|
||||
#define EWOULDBLOCK WSAEWOULDBLOCK
|
||||
#endif
|
||||
#else // Berkley
|
||||
#include <sys/socket.h>
|
||||
#include <sys/select.h>
|
||||
|
|
@ -36,7 +38,7 @@
|
|||
#include <string.h>
|
||||
#include <sys/time.h>
|
||||
#include <errno.h>
|
||||
#define SOCKET int
|
||||
typedef int SOCKET;
|
||||
#define INVALID_SOCKET -1
|
||||
#define SOCKET_ERROR -1
|
||||
// #define FD_SET fd_set
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue