diff options
author | Frances Buontempo <frances.buontempo@gmail.com> | 2012-01-16 13:53:08 (GMT) |
---|---|---|
committer | Frances Buontempo <frances.buontempo@gmail.com> | 2012-01-16 13:53:08 (GMT) |
commit | 337d059edc8c9ed6db83d04c7eeb5d38f2595f6c (patch) | |
tree | c6b76d777820ddaa78383f066c2df69929876c7f | |
parent | 25a3bb074633dc1217f7fd2bc3702d12d20c1761 (diff) | |
download | Ninja-337d059edc8c9ed6db83d04c7eeb5d38f2595f6c.zip Ninja-337d059edc8c9ed6db83d04c7eeb5d38f2595f6c.tar.gz Ninja-337d059edc8c9ed6db83d04c7eeb5d38f2595f6c.tar.bz2 |
Stop warning about chdir etc which are treated as errors on MSVC with the
current settings
-rw-r--r-- | src/test.h | 1 | ||||
-rw-r--r-- | src/util.h | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -19,6 +19,7 @@ #include "disk_interface.h" #include "state.h" +#include "util.h" // Support utilites for tests. @@ -69,6 +69,7 @@ const char* SpellcheckString(const string& text, ...); #define snprintf _snprintf #define fileno _fileno #define unlink _unlink +#define chdir _chdir /// Convert the value returned by GetLastError() into a string. string GetLastErrorString(); |