1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-18 09:02:39 +00:00

MacOS doesn't have stime() even though it has many SysV features

This commit is contained in:
Nick Briggs 2017-06-26 21:32:30 -07:00
parent 913a45daf7
commit 5a520095c2

View File

@ -362,7 +362,7 @@ void subr_settime(LispPTR args[])
dosday.dayofweek = uxtime.tm_wday;
_dos_setdate(&dosday);
#elif defined(SYSVONLY)
#elif defined(SYSVONLY) && !defined(MACOSX)
time_t newTime = (time_t)(*((int *)Addr68k_from_LADDR(args[0])) - UNIX_ALTO_TIME_DIFF);
stime(&newTime);
#else