diff options
author | Peter Kümmel <syntheticpp@gmx.net> | 2013-03-14 15:29:59 (GMT) |
---|---|---|
committer | Peter Kümmel <syntheticpp@gmx.net> | 2013-03-14 15:31:10 (GMT) |
commit | ee8431a99d46c19d110853165ce9cbecae862ad0 (patch) | |
tree | 56f7eb60616836b960a3312cc709754298fbc212 | |
parent | ecc876eb5152c182fc7f3eb768e98936bff9119c (diff) | |
download | Ninja-ee8431a99d46c19d110853165ce9cbecae862ad0.zip Ninja-ee8431a99d46c19d110853165ce9cbecae862ad0.tar.gz Ninja-ee8431a99d46c19d110853165ce9cbecae862ad0.tar.bz2 |
Posix symbols are not enabled by default for MSVC
-rw-r--r-- | src/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -76,6 +76,8 @@ string ElideMiddle(const string& str, size_t width); #define unlink _unlink #define chdir _chdir #define strtoull _strtoui64 +#define getcwd _getcwd +#define PATH_MAX _MAX_PATH #endif #ifdef _WIN32 |