mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-08 16:56:08 +00:00
Refactor to work on Linux / Unix, fix some compiler errors.
CMakeLists was also modified to make this work, but its scuffed and i will hold on to that for a while longer
This commit is contained in:
@@ -3,7 +3,12 @@
|
||||
///
|
||||
|
||||
#pragma once
|
||||
#ifdef __WIN32
|
||||
#include <WS2tcpip.h>
|
||||
#else
|
||||
#include <arpa/inet.h>
|
||||
#define SOCKET int
|
||||
#endif
|
||||
#include "Buffer.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -67,4 +72,4 @@ struct ClientInterface{
|
||||
}
|
||||
};
|
||||
|
||||
extern ClientInterface* CI;
|
||||
extern ClientInterface* CI;
|
||||
|
||||
Reference in New Issue
Block a user