hecl: Only include <ranges> on Windows

This commit is contained in:
Luke Street 2021-10-25 19:35:09 -04:00
parent cd4dac6437
commit 396ebde5fd
1 changed files with 1 additions and 3 deletions

View File

@ -17,6 +17,7 @@
#define _WIN32_IE 0x0400 #define _WIN32_IE 0x0400
#endif #endif
#include <shlobj.h> #include <shlobj.h>
#include <ranges>
#endif #endif
#ifdef __APPLE__ #ifdef __APPLE__
@ -28,9 +29,6 @@
#include <sys/wait.h> #include <sys/wait.h>
#endif #endif
#ifdef __cpp_lib_ranges
#include <ranges>
#endif
#include <logvisor/logvisor.hpp> #include <logvisor/logvisor.hpp>
using namespace std::literals; using namespace std::literals;