diff options
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 |