MSVC bug workaround

This commit is contained in:
Eladash 2020-09-25 09:42:41 +03:00 committed by kd-11
parent 6164b3d2e2
commit 3b11f22062
4 changed files with 11 additions and 25 deletions

View file

@ -8,12 +8,15 @@
#include <vector>
#include <algorithm>
namespace fs
{
#ifdef _WIN32
static constexpr auto delim = "/\\";
static constexpr auto wdelim = L"/\\";
using native_handle = void*;
#else
static constexpr auto delim = "/";
static constexpr auto wdelim = L"/";
using native_handle = int;
#endif