mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-06-17 14:12:25 +00:00
Compat: add back types
This commit is contained in:
@@ -7,6 +7,10 @@
|
|||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <termios.h>
|
#include <termios.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
using SOCKET = int;
|
||||||
|
using DWORD = unsigned long;
|
||||||
|
using PDWORD = unsigned long*;
|
||||||
|
using LPDWORD = unsigned long*;
|
||||||
char _getch();
|
char _getch();
|
||||||
inline void CloseSocketProper(int TheSocket) {
|
inline void CloseSocketProper(int TheSocket) {
|
||||||
shutdown(TheSocket, SHUT_RDWR);
|
shutdown(TheSocket, SHUT_RDWR);
|
||||||
|
|||||||
Reference in New Issue
Block a user