diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2018-04-06 15:47:58 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2018-04-06 19:31:19 -0700 |
| commit | be2ea0373fbbb17ec792155ebaec0d2dd3d95242 (patch) | |
| tree | c751fb57fc2ba7fe1d50c6551844bb6edf264af5 /toolsrc/src | |
| parent | d5a1e1054120c993560e5de1c6ad8ac16131d356 (diff) | |
| download | vcpkg-be2ea0373fbbb17ec792155ebaec0d2dd3d95242.tar.gz vcpkg-be2ea0373fbbb17ec792155ebaec0d2dd3d95242.zip | |
#ifdef linux-specific code
Diffstat (limited to 'toolsrc/src')
| -rw-r--r-- | toolsrc/src/vcpkg/commands.fetch.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toolsrc/src/vcpkg/commands.fetch.cpp b/toolsrc/src/vcpkg/commands.fetch.cpp index cf19b4384..9652d0b9e 100644 --- a/toolsrc/src/vcpkg/commands.fetch.cpp +++ b/toolsrc/src/vcpkg/commands.fetch.cpp @@ -199,6 +199,7 @@ namespace vcpkg::Commands::Fetch return data_lines; } +#if !defined(_WIN32) static void extract_archive(const VcpkgPaths& paths, const fs::path& archive, const fs::path& to_path) { Files::Filesystem& fs = paths.get_filesystem(); @@ -265,6 +266,7 @@ namespace vcpkg::Commands::Fetch fs.rename(download_path_part, download_path); } +#endif static fs::path fetch_tool(const VcpkgPaths& paths, const std::string& tool_name, const ToolData& tool_data) { const auto& fs = paths.get_filesystem(); |
