diff options
author | Nico Weber <nicolasweber@gmx.de> | 2017-10-20 17:18:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-20 17:18:16 (GMT) |
commit | e234a7bdb6c42f4539c0ab09b624f191287c2c10 (patch) | |
tree | 2bfad4ed54dcb5c22672a62d74dad2db25ee32d0 /src/ninja.cc | |
parent | 0d9bf7866322c9abd4e7e537d64d979af56498d7 (diff) | |
parent | 0c42653da8ccaeb14b7c28ba9670eeac0460037e (diff) | |
download | Ninja-e234a7bdb6c42f4539c0ab09b624f191287c2c10.zip Ninja-e234a7bdb6c42f4539c0ab09b624f191287c2c10.tar.gz Ninja-e234a7bdb6c42f4539c0ab09b624f191287c2c10.tar.bz2 |
Merge pull request #1219 from QuLogic/resolution
Use high-resolution timestamps
Diffstat (limited to 'src/ninja.cc')
-rw-r--r-- | src/ninja.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninja.cc b/src/ninja.cc index 8d9e89c..30f89c2 100644 --- a/src/ninja.cc +++ b/src/ninja.cc @@ -494,7 +494,7 @@ int NinjaMain::ToolDeps(const Options* options, int argc, char** argv) { TimeStamp mtime = disk_interface.Stat((*it)->path(), &err); if (mtime == -1) Error("%s", err.c_str()); // Log and ignore Stat() errors; - printf("%s: #deps %d, deps mtime %d (%s)\n", + printf("%s: #deps %d, deps mtime %" PRId64 " (%s)\n", (*it)->path().c_str(), deps->node_count, deps->mtime, (!mtime || mtime > deps->mtime ? "STALE":"VALID")); for (int i = 0; i < deps->node_count; ++i) |