DirectoryEnumerator: Only include <ranges> on Windows

This commit is contained in:
Luke Street 2021-10-25 19:34:50 -04:00
parent 27da856af3
commit 45f56d21f1
1 changed files with 1 additions and 3 deletions

View File

@ -5,6 +5,7 @@
#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
#include <ranges>
#else
#include <dirent.h>
#include <sys/stat.h>
@ -12,9 +13,6 @@
#include <cstring>
#include <map>
#ifdef __cpp_lib_ranges
#include <ranges>
#endif
namespace nod {