Fix compilation on any platform != WIN32 :)

This commit is contained in:
James Brown 2005-04-10 03:08:29 +00:00
parent 1b306cc6c2
commit c6ba63f2f3

View File

@ -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) {