mirror of
https://github.com/glest/glest-source.git
synced 2025-08-23 00:12:49 +02:00
- bugfix for compilation on windows
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user