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:
parent
c5f4f359ea
commit
63b2707739
8 changed files with 20 additions and 20 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue