forked from nakidai/csnake
1
0
Fork 0
csnake/include/platform/getch.h

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__ */