12 lines
164 B
C
12 lines
164 B
C
|
#ifndef __GETCH_H__
|
||
|
#define __GETCH_H__
|
||
|
|
||
|
#ifdef _WIN32
|
||
|
#include <conio.h>
|
||
|
#define getch _getch
|
||
|
#else
|
||
|
int getch(void);
|
||
|
#endif /* _WIN32 */
|
||
|
|
||
|
#endif /* __GETCH_H__ */
|