summaryrefslogtreecommitdiffstats
path: root/src/disk_interface.h
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2014-06-15 05:05:09 (GMT)
committerNico Weber <thakis@chromium.org>2014-06-15 21:13:50 (GMT)
commitf6f63eb50855ac2ccf37e2f5629f6a9e962d6c5e (patch)
tree6e2a001186f2b076a734de588d965d2691ff2ce2 /src/disk_interface.h
parentd64f672e5083e01c579191b02c1e1667d9e63ef2 (diff)
downloadNinja-f6f63eb50855ac2ccf37e2f5629f6a9e962d6c5e.zip
Ninja-f6f63eb50855ac2ccf37e2f5629f6a9e962d6c5e.tar.gz
Ninja-f6f63eb50855ac2ccf37e2f5629f6a9e962d6c5e.tar.bz2
make win-only
Diffstat (limited to 'src/disk_interface.h')
-rw-r--r--src/disk_interface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/disk_interface.h b/src/disk_interface.h
index d368c38..bffb679 100644
--- a/src/disk_interface.h
+++ b/src/disk_interface.h
@@ -66,12 +66,14 @@ struct RealDiskInterface : public DiskInterface {
/// Whether to print on errors. Used to make a test quieter.
bool quiet_;
+#ifdef _WIN32
/// Whether stat information can be cached.
bool use_cache_;
typedef map<string, TimeStamp> DirCache;
typedef map<string, DirCache*> Cache;
Cache cache_;
+#endif
};
#endif // NINJA_DISK_INTERFACE_H_