Enable the logfile on 64-bit Windows.

It seems to work without any problems.

One use of a non-portable function was corrected in the process.
This commit is contained in:
John "Elwin" Edwards 2016-05-17 21:28:34 -04:00
parent c5f4f359ea
commit 63b2707739
8 changed files with 20 additions and 20 deletions

View file

@ -246,7 +246,7 @@ void writelog(int amount, int flags, char monst)
return;
#ifdef LOGFILE
if (lfd >= 0)
logfi = fdopen(lfd, "a");
logfi = md_fdopen(lfd, "a");
else
return;
if (logfi == NULL)