- bugfix for compilation on windows
This commit is contained in:
parent
ab64b9343f
commit
7d5b71b2cf
|
@ -220,7 +220,7 @@ AiInterface::AiInterface(Game &game, int factionIndex, int teamIndex,
|
||||||
//clear log file
|
//clear log file
|
||||||
if(logLevel > 0) {
|
if(logLevel > 0) {
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
fp = _wfopen(Shared::Platform::utf8_decode(aiLogFile).c_str(), L"wt");
|
fp = _wfopen(::Shared::Platform::utf8_decode(aiLogFile).c_str(), L"wt");
|
||||||
#else
|
#else
|
||||||
fp = fopen(aiLogFile.c_str(), "wt");
|
fp = fopen(aiLogFile.c_str(), "wt");
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue