Fix for Windows compilation.

This commit is contained in:
Jonathan Naylor 2020-05-09 12:47:26 +01:00
parent 800b7a30af
commit 2ae966b7fb

View file

@ -237,7 +237,11 @@ int CMMDVMHost::run()
#endif
#endif
#if !defined(_WIN32) && !defined(_WIN64)
ret = ::LogInitialise(m_daemon, m_conf.getLogFilePath(), m_conf.getLogFileRoot(), m_conf.getLogFileLevel(), m_conf.getLogDisplayLevel());
#else
ret = ::LogInitialise(false, m_conf.getLogFilePath(), m_conf.getLogFileRoot(), m_conf.getLogFileLevel(), m_conf.getLogDisplayLevel());
#endif
if (!ret) {
::fprintf(stderr, "MMDVMHost: unable to open the log file\n");
return 1;