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:
parent
913a45daf7
commit
5a520095c2
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user