summaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorFrances Buontempo <frances.buontempo@gmail.com>2012-01-16 13:53:08 (GMT)
committerFrances Buontempo <frances.buontempo@gmail.com>2012-01-16 13:53:08 (GMT)
commit337d059edc8c9ed6db83d04c7eeb5d38f2595f6c (patch)
treec6b76d777820ddaa78383f066c2df69929876c7f /src/util.h
parent25a3bb074633dc1217f7fd2bc3702d12d20c1761 (diff)
downloadNinja-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
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 04f0a90..0ae2743 100644
--- a/src/util.h
+++ b/src/util.h
@@ -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();