Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Posix symbols are not enabled by default for MSVC

  • Loading branch information...
commit ee8431a99d46c19d110853165ce9cbecae862ad0 1 parent ecc876e
@syntheticpp syntheticpp authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/util.h
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.