summaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorDaniel Weber <daniel.weber.dev@gmail.com>2016-08-22 22:26:38 (GMT)
committerDaniel Weber <daniel.weber.dev@gmail.com>2016-08-22 22:26:38 (GMT)
commitc4b09e1e7e1d531a818601be33e0ec8ee18c3cde (patch)
tree53765aa88182d29c3156fd2bea822e660e814127 /src/util.h
parent94fc14314501a78b1742e910f7c920188b2753da (diff)
downloadNinja-c4b09e1e7e1d531a818601be33e0ec8ee18c3cde.zip
Ninja-c4b09e1e7e1d531a818601be33e0ec8ee18c3cde.tar.gz
Ninja-c4b09e1e7e1d531a818601be33e0ec8ee18c3cde.tar.bz2
Allow more path components
- 60 instead of 30 path components - 64 instead of 32 backslashes in a path (windows only) Issue: 1161
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.h b/src/util.h
index cbdc1a6..846cd93 100644
--- a/src/util.h
+++ b/src/util.h
@@ -43,8 +43,8 @@ void Error(const char* msg, ...);
/// Canonicalize a path like "foo/../bar.h" into just "bar.h".
/// |slash_bits| has bits set starting from lowest for a backslash that was
/// normalized to a forward slash. (only used on Windows)
-bool CanonicalizePath(string* path, unsigned int* slash_bits, string* err);
-bool CanonicalizePath(char* path, size_t* len, unsigned int* slash_bits,
+bool CanonicalizePath(string* path, uint64_t* slash_bits, string* err);
+bool CanonicalizePath(char* path, size_t* len, uint64_t* slash_bits,
string* err);
/// Appends |input| to |*result|, escaping according to the whims of either