Fix another preprocessor conditional for MinGW

install-platforms
Lukas Werling 2017-11-09 09:33:29 +01:00
parent 022ca2b364
commit 3cce9f44c7
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ bool OpenLog()
#endif
{
// Already locked by another instance?
#ifdef HAVE_SYS_FILE_H
#if !defined(_WIN32) && defined(HAVE_SYS_FILE_H)
if (fd) close(fd);
#else
if (C4LogFile) fclose(C4LogFile);