Fixed double function declarations
This commit is contained in:
parent
c82d9cb89a
commit
91e169638d
|
|
@ -61,10 +61,7 @@
|
|||
//----------------------------------------------------------------------------------
|
||||
// Module Functions Declaration
|
||||
//----------------------------------------------------------------------------------
|
||||
#if !defined(_MSC_VER)
|
||||
static int kbhit(void); // Check if a key has been pressed
|
||||
static char getch(); // Get pressed character
|
||||
#else
|
||||
#if defined(_MSC_VER)
|
||||
#define kbhit _kbhit
|
||||
#define getch _getch
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user