summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2014-06-15 22:16:50 (GMT)
committerNico Weber <thakis@chromium.org>2014-06-15 22:16:50 (GMT)
commit13cdf9b1812397a969288c755c99926b4011a955 (patch)
treecef6ffbd129ad80a5f8a1753e8a06636c3dee838 /src
parent4eb8309251c4839de25502a5390270b53d9706eb (diff)
downloadNinja-13cdf9b1812397a969288c755c99926b4011a955.zip
Ninja-13cdf9b1812397a969288c755c99926b4011a955.tar.gz
Ninja-13cdf9b1812397a969288c755c99926b4011a955.tar.bz2
make bool exist everywhere, for simpler calling code
Diffstat (limited to 'src')
-rw-r--r--src/debug_flags.h2
-rw-r--r--src/disk_interface.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/debug_flags.h b/src/debug_flags.h
index ce3c292..4ffef75 100644
--- a/src/debug_flags.h
+++ b/src/debug_flags.h
@@ -26,8 +26,6 @@ extern bool g_explaining;
extern bool g_keep_rsp;
-#ifdef _WIN32
extern bool g_experimental_win_statcache;
-#endif // _WIN32
#endif // NINJA_EXPLAIN_H_
diff --git a/src/disk_interface.h b/src/disk_interface.h
index a8a3023..0f6dfd3 100644
--- a/src/disk_interface.h
+++ b/src/disk_interface.h
@@ -71,7 +71,7 @@ struct RealDiskInterface : public DiskInterface {
/// Whether to print on errors. Used to make a test quieter.
bool quiet_;
- /// Whether stat information can be cached.
+ /// Whether stat information can be cached. Only has an effect on Windows.
void AllowStatCache(bool allow);
private: