aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/pch.h
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-08-18 09:23:01 -0700
committerGitHub <noreply@github.com>2020-08-18 09:23:01 -0700
commit0bb8780a60e67320a966421e2923595fa57cbf22 (patch)
tree494b4a99592f5bd17195397ae3acd37d38fa9dc6 /toolsrc/include/pch.h
parentd6285bc24b2e48da2f5e057fc759aff7c2b3b0af (diff)
downloadvcpkg-0bb8780a60e67320a966421e2923595fa57cbf22.tar.gz
vcpkg-0bb8780a60e67320a966421e2923595fa57cbf22.zip
[vcpkg] Use std::filesystem when Visual Studio is greater than 2015 (#12774)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'toolsrc/include/pch.h')
-rw-r--r--toolsrc/include/pch.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/toolsrc/include/pch.h b/toolsrc/include/pch.h
index f92792411..c8ca1ea7c 100644
--- a/toolsrc/include/pch.h
+++ b/toolsrc/include/pch.h
@@ -2,6 +2,7 @@
#include <vcpkg/base/system_headers.h>
+#include <vcpkg/base/files.h>
#include <vcpkg/base/pragmas.h>
#if defined(_WIN32)
@@ -23,14 +24,6 @@
#include <cctype>
#include <chrono>
#include <codecvt>
-
-#if VCPKG_USE_STD_FILESYSTEM
-#include <filesystem>
-#else
-#define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING
-#include <experimental/filesystem>
-#endif
-
#include <fstream>
#include <functional>
#include <iomanip>