|
|
1.1.1.3 ! root 1: #ifndef SYSTEM_H ! 2: #define SYSTEM_H ! 3: ! 4: #ifdef UNIX ! 5: #if !defined(HAVE_UNISTD_H) && !defined(MACH) && !defined(_BSD) ! 6: #define HAVE_UNISTD_H ! 7: #endif ! 8: ! 9: #ifdef HAVE_UNISTD_H ! 10: #include <unistd.h> ! 11: #else ! 12: #include <stdio.h> ! 13: #include <sys/types.h> ! 14: #endif ! 15: ! 16: int getch(); ! 17: int kbhit(); ! 18: ! 19: /* replacement function for obsolete clock(), just provides random data */ ! 20: long Clock(); ! 21: ! 22: #endif /* UNIX */ ! 23: ! 24: #if defined(UNIX) || defined(AMIGA) || defined(VMS) ! 25: void ttycbreak(); ! 26: void ttynorm(); ! 27: #else ! 28: #define ttycbreak() /* nothing */ ! 29: #define ttynorm() /* nothing */ ! 30: #endif ! 31: ! 32: #if !defined(MSDOS) && !defined(ATARI) ! 33: char *strlwr(char *); ! 34: #endif ! 35: ! 36: void breakHandler(int); ! 37: ! 38: #endif /* SYSTEM_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.