mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-13 19:26:12 +00:00
begin rewrite: add lionkor/commandline
This commit is contained in:
committed by
Anonymous275
parent
6a2ce7faab
commit
e5e447c7af
17
include/Compat.h
Normal file
17
include/Compat.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
// Unix - Win32 compatibility stuff
|
||||
#ifdef WIN32
|
||||
#include <conio.h>
|
||||
#include <windows.h>
|
||||
#else // *nix
|
||||
typedef unsigned long DWORD, *PDWORD, *LPDWORD;
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
#endif // WIN32
|
||||
|
||||
#ifndef WIN32
|
||||
|
||||
char _getch(void);
|
||||
|
||||
#endif // !WIN32
|
||||
Reference in New Issue
Block a user