Fixed double function declarations
This commit is contained in:
parent
c82d9cb89a
commit
91e169638d
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user