1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-04-24 19:50:25 +00:00

Add Emscripten/WASM support

This commit is contained in:
Hayley Patton
2023-11-13 15:18:49 +11:00
parent 42477318b5
commit 79a788279b
7 changed files with 59 additions and 0 deletions

View File

@@ -73,6 +73,11 @@ extern int ether_fd;
extern DspInterface currentdsp;
#endif /* XWINDOW */
#ifdef MAIKO_OS_EMSCRIPTEN
/* We can't touch the system clock */
#define settimeofday(tv, tz)
#endif
#define LISP_UNIX_TIME_DIFF 29969152
#define LISP_ALTO_TIME_MASK 0x80000000
#define UNIX_ALTO_TIME_DIFF 2177452800U