diff options
| author | Per Larsson <[email protected]> | 2021-09-07 10:26:22 +0200 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2021-09-07 10:26:22 +0200 |
| commit | c5dd3d32cb29ac963f61eb6c119d54ed14f94f9a (patch) | |
| tree | 57a04246635577f11a35bb9a670610d508e694e8 /zenserver/vfs.cpp | |
| parent | Added custom cpr::Response formatter and removed duplicate logging code. (diff) | |
| parent | Clarified some async/sync behaviour in HTTP implementation (diff) | |
| download | zen-c5dd3d32cb29ac963f61eb6c119d54ed14f94f9a.tar.xz zen-c5dd3d32cb29ac963f61eb6c119d54ed14f94f9a.zip | |
Merge branch 'main' of https://github.com/EpicGames/zen
Diffstat (limited to 'zenserver/vfs.cpp')
| -rw-r--r-- | zenserver/vfs.cpp | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/zenserver/vfs.cpp b/zenserver/vfs.cpp index 71f0bbdda..5b6a3e4b6 100644 --- a/zenserver/vfs.cpp +++ b/zenserver/vfs.cpp @@ -2,19 +2,20 @@ #include "vfs.h" -#include <zencore/except.h> -#include <zencore/filesystem.h> -#include <zencore/snapshot_manifest.h> -#include <zencore/stream.h> -#include <zencore/windows.h> +#if WITH_VFS +# include <zencore/except.h> +# include <zencore/filesystem.h> +# include <zencore/snapshot_manifest.h> +# include <zencore/stream.h> +# include <zencore/windows.h> -#include <map> +# include <map> -#include <atlfile.h> -#include <projectedfslib.h> -#include <spdlog/spdlog.h> +# include <atlfile.h> +# include <projectedfslib.h> +# include <spdlog/spdlog.h> -#pragma comment(lib, "projectedfslib.lib") +# pragma comment(lib, "projectedfslib.lib") namespace zen { @@ -472,9 +473,9 @@ ProjfsProvider::DebugPrint(const char* FmtString, ...) va_list vl; va_start(vl, FmtString); -#if 0 +# if 0 vprintf(FmtString, vl); -#endif +# endif va_end(vl); } @@ -896,3 +897,4 @@ Vfs::Stop() } } // namespace zen +#endif
\ No newline at end of file |