diff options
author | Nico Weber <thakis@chromium.org> | 2014-06-15 05:05:09 (GMT) |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2014-06-15 21:13:50 (GMT) |
commit | f6f63eb50855ac2ccf37e2f5629f6a9e962d6c5e (patch) | |
tree | 6e2a001186f2b076a734de588d965d2691ff2ce2 /src/disk_interface.h | |
parent | d64f672e5083e01c579191b02c1e1667d9e63ef2 (diff) | |
download | Ninja-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.h | 2 |
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_ |