From 337d059edc8c9ed6db83d04c7eeb5d38f2595f6c Mon Sep 17 00:00:00 2001 From: Frances Buontempo Date: Mon, 16 Jan 2012 13:53:08 +0000 Subject: Stop warning about chdir etc which are treated as errors on MSVC with the current settings --- src/test.h | 1 + src/util.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/test.h b/src/test.h index df544c6..d730151 100644 --- a/src/test.h +++ b/src/test.h @@ -19,6 +19,7 @@ #include "disk_interface.h" #include "state.h" +#include "util.h" // Support utilites for tests. 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(); -- cgit v0.12