mirror of
https://github.com/cc65/cc65.git
synced 2024-11-15 11:05:56 +00:00
Added Atari stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@196 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
ab2b9d35e1
commit
319059d46d
@ -60,9 +60,9 @@ struct tm {
|
||||
int tm_isdst;
|
||||
};
|
||||
|
||||
#if defined(__CBM__)
|
||||
# if defined(__CBM610__)
|
||||
/* The 610 gets its clock from the AC current */
|
||||
#ifdef __CBM__
|
||||
# ifdef __CBM610__
|
||||
# define CLK_TCK 50 /* POSIX */
|
||||
# define CLOCKS_PER_SEC 50 /* ANSI */
|
||||
# else
|
||||
@ -71,6 +71,13 @@ struct tm {
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(__ATARI__)
|
||||
/* The clock depends on the video standard, so read it at runtime */
|
||||
unsigned _clocks_per_sec (void);
|
||||
# define CLK_TCK _clocks_per_sec()
|
||||
# define CLOCKS_PER_SEC _clocks_per_sec()
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/* Function prototypes */
|
||||
|
Loading…
Reference in New Issue
Block a user