summaryrefslogtreecommitdiffstats
path: root/src/deps_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/deps_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/deps_log.cc')
-rw-r--r--src/deps_log.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/deps_log.cc b/src/deps_log.cc
index eb81a37..0bb96f3 100644
--- a/src/deps_log.cc
+++ b/src/deps_log.cc
@@ -20,6 +20,9 @@
#include <string.h>
#ifndef _WIN32
#include <unistd.h>
+#elif defined(_MSC_VER) && (_MSC_VER < 1900)
+typedef __int32 int32_t;
+typedef unsigned __int32 uint32_t;
#endif
#include "graph.h"