Added linux compatibility

This commit is contained in:
David Anderson
2005-07-27 17:28:06 +00:00
parent 62cdaf5e10
commit 31436e3ecf
7 changed files with 746 additions and 9 deletions

15
compiler/libpc300/getch.h Executable file
View File

@ -0,0 +1,15 @@
/* Extremely inefficient but portable POSIX getch(), see getch.c */
#ifndef GETCH_H
#define GETCH_H
#if defined __cplusplus
extern "C" {
#endif
int getch(void);
int kbhit(void);
#if defined __cplusplus
}
#endif
#endif /* GETCH_H */