Fix directory iteration on Vista

FindExInfoBasic was added in Windows 7, not Vista.
This commit is contained in:
Thomas Goyne 2014-01-05 09:21:57 -08:00
parent f71b380f01
commit a8492fc02d

View file

@ -36,7 +36,7 @@ namespace bfs = boost::filesystem;
namespace {
FINDEX_INFO_LEVELS find_info_level() {
return IsWindowsVistaOrGreater() ? FindExInfoBasic : FindExInfoStandard;
return IsWindows7OrGreater() ? FindExInfoBasic : FindExInfoStandard;
}
}