1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00

Added telestrat to <time.h>.

That library has clock().
This commit is contained in:
Greg King 2022-02-03 00:18:02 -05:00 committed by greg-king5
parent 7bbc006014
commit bae2821d5a

View File

@ -102,6 +102,8 @@ extern struct _timezone {
# define CLOCKS_PER_SEC 135 /* FIXME */ # define CLOCKS_PER_SEC 135 /* FIXME */
#elif defined(__GEOS__) #elif defined(__GEOS__)
# define CLOCKS_PER_SEC 1 # define CLOCKS_PER_SEC 1
#elif defined(__TELESTRAT__)
# define CLOCKS_PER_SEC 10
#elif defined(__ATARI__) || defined (__LYNX__) #elif defined(__ATARI__) || defined (__LYNX__)
/* Read the clock rate at runtime */ /* Read the clock rate at runtime */
clock_t _clocks_per_sec (void); clock_t _clocks_per_sec (void);