mirror of https://github.com/AxioDL/nod.git
DirectoryEnumerator: Only include <ranges> on Windows
This commit is contained in:
parent
27da856af3
commit
45f56d21f1
|
@ -5,6 +5,7 @@
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#endif
|
#endif
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#include <ranges>
|
||||||
#else
|
#else
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
@ -12,9 +13,6 @@
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <map>
|
#include <map>
|
||||||
#ifdef __cpp_lib_ranges
|
|
||||||
#include <ranges>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace nod {
|
namespace nod {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue