mirror of
https://github.com/glest/glest-source.git
synced 2025-02-25 12:12:25 +01:00
- fixed windows build
This commit is contained in:
parent
5584121aa7
commit
d222e6a4ba
@ -273,7 +273,7 @@ XmlNode *XmlIoRapid::load(const string &path, std::map<string,string> mapTagRepl
|
|||||||
try {
|
try {
|
||||||
#if defined(WIN32) && !defined(__MINGW32__)
|
#if defined(WIN32) && !defined(__MINGW32__)
|
||||||
FILE *fp = _wfopen(utf8_decode(path).c_str(), L"rb");
|
FILE *fp = _wfopen(utf8_decode(path).c_str(), L"rb");
|
||||||
ifstream xmlFile(fp,ios::binary);
|
ifstream xmlFile(fp);
|
||||||
#else
|
#else
|
||||||
ifstream xmlFile(path.c_str(),ios::binary);
|
ifstream xmlFile(path.c_str(),ios::binary);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user