Replace fDATIME with ANSI/POSIX clock_gettime(). Rip out DOS/AMIGA shims.

The thinking here is that we simplify life by going pure ANSI/POSIX.
This is a text game.  If it ever runs on anything but Unix again it's
almost certain to be on something like WSL that supplies a
POSIX-conformant text console.
This commit is contained in:
Eric S. Raymond 2017-05-18 17:18:16 -04:00
parent bd0487acc5
commit 23f2dbe814
6 changed files with 5 additions and 69 deletions

4
misc.c
View file

@ -898,10 +898,6 @@ long I, VAL; static FILE *OPENED = NULL;
goto L20;
L15: if(!OPENED){
#ifdef AMIGA
OPENED=fopen("ram:adventure.text","r" /* NOT binary */);
if(!OPENED)
#endif
OPENED=fopen("adventure.text","r" /* NOT binary */);
if(!OPENED){printf("Can't read adventure.text!\n"); exit(FALSE);}
}