projects
/
platform
/
upstream
/
ninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecc876e
)
Posix symbols are not enabled by default for MSVC
author
Peter Kümmel
<syntheticpp@gmx.net>
Thu, 14 Mar 2013 15:29:59 +0000
(16:29 +0100)
committer
Peter Kümmel
<syntheticpp@gmx.net>
Thu, 14 Mar 2013 15:31:10 +0000
(16:31 +0100)
src/util.h
patch
|
blob
|
history
diff --git
a/src/util.h
b/src/util.h
index
2b59283
..
3c2a297
100644
(file)
--- a/
src/util.h
+++ b/
src/util.h
@@
-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