From: Oliver Schmidt
Date: Fri, 17 Aug 2018 23:36:56 +0000 (+0200)
Subject: Added dummy clock_settime() for the Atari.
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=250e4ed9e0f2829ca48a895151f32b0fca249f90;p=cc65
Added dummy clock_settime() for the Atari.
Allow to build ip65/date65.
---
diff --git a/libsrc/atari/settime.s b/libsrc/atari/settime.s
new file mode 100644
index 000000000..698aa2a29
--- /dev/null
+++ b/libsrc/atari/settime.s
@@ -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