aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorGriffin Downs <grdowns@microsoft.com>2019-03-12 15:05:49 -0700
committerGriffin Downs <grdowns@microsoft.com>2019-03-12 15:05:49 -0700
commit1c879a4b929edcbdffd664277fcea74f74fd3aeb (patch)
treeceb49e08866c688015ae6177160d62ec08204b85 /toolsrc/include
parentd8998f879d65a136c68962398a95b281e4cc837c (diff)
downloadvcpkg-1c879a4b929edcbdffd664277fcea74f74fd3aeb.tar.gz
vcpkg-1c879a4b929edcbdffd664277fcea74f74fd3aeb.zip
Use identical check when creating namespace alias
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg/base/files.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/include/vcpkg/base/files.h b/toolsrc/include/vcpkg/base/files.h
index b4171370f..3fdcdaf7b 100644
--- a/toolsrc/include/vcpkg/base/files.h
+++ b/toolsrc/include/vcpkg/base/files.h
@@ -10,7 +10,7 @@
namespace fs
{
-#ifdef __cpp_lib_filesystem
+#if defined(_WIN32) || defined(__cpp_lib_filesystem)
namespace stdfs = std::filesystem;
#else
namespace stdfs = std::experimental::filesystem;