One more try to fix the WIN32 port
This commit is contained in:
parent
979e3add68
commit
b10dc60444
4 changed files with 14 additions and 3 deletions
|
@ -45,8 +45,9 @@ ResourceLoader::ResourceLoader() {
|
|||
|
||||
#ifdef _MSC_VER
|
||||
WIN32_FIND_DATAA find_file_data;
|
||||
dir_str += '*';
|
||||
HANDLE d = FindFirstFile(dir_str.c_str(), &find_file_data);
|
||||
std::string dir_strWin32 = dir_str;
|
||||
dir_strWin32 += '*';
|
||||
HANDLE d = FindFirstFile(dir_strWin32.c_str(), &find_file_data);
|
||||
#else
|
||||
DIR *d = opendir(dir_str.c_str());
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue