summaryrefslogtreecommitdiffstats
path: root/src/build_log.cc
diff options
context:
space:
mode:
authorikifof <38361739+ikifof@users.noreply.github.com>2018-11-07 10:32:29 (GMT)
committerJan Niklas Hasse <jhasse@bixense.com>2018-11-07 10:32:29 (GMT)
commit0db30f237ccc66a4fdf19d88666fc1f7e415a562 (patch)
treecd466d730e52cedc5e18153cdbd964d31d321b0d /src/build_log.cc
parentcf51ff558f0fb5b736336182ff4f5df20ca3f8a4 (diff)
downloadNinja-0db30f237ccc66a4fdf19d88666fc1f7e415a562.zip
Ninja-0db30f237ccc66a4fdf19d88666fc1f7e415a562.tar.gz
Ninja-0db30f237ccc66a4fdf19d88666fc1f7e415a562.tar.bz2
Fix older VS compatibility issues and PDB files generation issue. (#1435)
Fixes #1411.
Diffstat (limited to 'src/build_log.cc')
-rw-r--r--src/build_log.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/build_log.cc b/src/build_log.cc
index 2a65f9d..c4a08a0 100644
--- a/src/build_log.cc
+++ b/src/build_log.cc
@@ -35,6 +35,9 @@
#include "graph.h"
#include "metrics.h"
#include "util.h"
+#if defined(_MSC_VER) && (_MSC_VER < 1800)
+#define strtoll _strtoi64
+#endif
// Implementation details:
// Each run's log appends to the log file.