Fixed double function declarations

This commit is contained in:
Teashrock 2021-05-07 10:03:30 +03:00 committed by GitHub
parent c82d9cb89a
commit 91e169638d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,10 +61,7 @@
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
// Module Functions Declaration // Module Functions Declaration
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
#if !defined(_MSC_VER) #if defined(_MSC_VER)
static int kbhit(void); // Check if a key has been pressed
static char getch(); // Get pressed character
#else
#define kbhit _kbhit #define kbhit _kbhit
#define getch _getch #define getch _getch
#endif #endif