]> git.sur5r.net Git - cc65/commitdiff
Added dummy clock_settime() for the Atari.
authorOliver Schmidt <ol.sc@web.de>
Fri, 17 Aug 2018 23:36:56 +0000 (01:36 +0200)
committerOliver Schmidt <ol.sc@web.de>
Fri, 17 Aug 2018 23:36:56 +0000 (01:36 +0200)
Allow to build ip65/date65.

libsrc/atari/settime.s [new file with mode: 0644]

diff --git a/libsrc/atari/settime.s b/libsrc/atari/settime.s
new file mode 100644 (file)
index 0000000..698aa2a
--- /dev/null
@@ -0,0 +1,8 @@
+;
+; int clock_settime (clockid_t clk_id, const struct timespec *tp);
+;
+        .include "errno.inc"
+        .export _clock_settime
+_clock_settime:
+        lda     #ENOSYS
+        jmp     __directerrno