Skip to content

Commit

Permalink
Fix older VS compatibility issues and PDB files generation issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
kifof committed Nov 5, 2018
1 parent 1255c0a commit 5dce088
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ def has_re2c():
n.comment('Tests all build into ninja_test executable.')

objs = []
if platform.is_windows():
if platform.is_msvc():
cxxvariables = [('pdb', 'ninja_test.pdb')]

for name in ['build_log_test',
Expand Down
2 changes: 1 addition & 1 deletion src/deps_log.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <string.h>
#ifndef _WIN32
#include <unistd.h>
#elif (_MSC_VER < 1900)
#elif defined(_MSC_VER) && (_MSC_VER < 1900)
typedef __int32 int32_t;
typedef unsigned __int32 uint32_t;
#endif
Expand Down

0 comments on commit 5dce088

Please sign in to comment.