diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2018-10-03 13:31:02 (GMT) |
---|---|---|
committer | Ben Boeckel <mathstuf@gmail.com> | 2018-11-09 15:51:17 (GMT) |
commit | e2aa04fdef84652492f7cd11ce9f4d971dd7a3c3 (patch) | |
tree | 68124996c851014fc430b14ee7f7ccac6055422b /src/util.h | |
parent | 6a9411e784c58492e62a5dcb7d5d1aadfb2e1830 (diff) | |
download | Ninja-e2aa04fdef84652492f7cd11ce9f4d971dd7a3c3.zip Ninja-e2aa04fdef84652492f7cd11ce9f4d971dd7a3c3.tar.gz Ninja-e2aa04fdef84652492f7cd11ce9f4d971dd7a3c3.tar.bz2 |
Win32Fatal: support a "hint" for the error
The callsite might have extra context which is helpful for interpreting
the error message.
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -119,7 +119,7 @@ bool Truncate(const string& path, size_t size, string* err); string GetLastErrorString(); /// Calls Fatal() with a function name and GetLastErrorString. -NORETURN void Win32Fatal(const char* function); +NORETURN void Win32Fatal(const char* function, const char* hint = NULL); #endif #endif // NINJA_UTIL_H_ |