mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-12 14:09:28 +00:00
Fix compilation on any platform != WIN32 :)
This commit is contained in:
parent
1b306cc6c2
commit
c6ba63f2f3
3
lua.cpp
3
lua.cpp
@ -1276,12 +1276,11 @@ static void luaFileFindNext() {
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
if (g_find_file_data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) {
|
||||
if (g_find_file_data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
|
||||
#else
|
||||
if (de->d_type == 6/* DT_DIR ? */)
|
||||
#endif
|
||||
found = false;
|
||||
}
|
||||
}
|
||||
|
||||
if (found) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user