mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-10-21 15:57:30 +00:00
Compat: add back types
This commit is contained in:
1 parent
5725717e29
commit
c571e218c7
1 file changed
+4
@@ -7,6 +7,10 @@
|
||||
#include <sys/socket.h>
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
using SOCKET = int;
|
||||
using DWORD = unsigned long;
|
||||
using PDWORD = unsigned long*;
|
||||
using LPDWORD = unsigned long*;
|
||||
char _getch();
|
||||
inline void CloseSocketProper(int TheSocket) {
|
||||
shutdown(TheSocket, SHUT_RDWR);
|
||||
|
||||
Reference in new issue
Block a user