Fixed crash when opening dialog and having dllexported symbols

master
Pierre-Yves Rollo 2020-01-29 12:02:03 +01:00
parent dc5e0f4a32
commit 9df63d4fc6
1 changed files with 2 additions and 1 deletions

View File

@ -844,7 +844,8 @@ IFileList* CFileSystem::createFileList()
// TODO: Should be unified once mingw adapts the proper types
#if defined(__GNUC__)
long hFile; //mingw return type declaration
intptr_t hFile; // KIDSCODE - Avoid a crash if dllexported symbols in executable
// long hFile; //mingw return type declaration
#else
intptr_t hFile;
#endif