diff options
author | Evan Martin <martine@danga.com> | 2011-12-20 19:43:57 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-12-20 19:43:57 (GMT) |
commit | 0cd066933511edb7869c5f6ce462b019a140ce3c (patch) | |
tree | 1fe70692438cf4c091a5fbfdcf0a9e832fba5f56 /src/util.h | |
parent | 9bf145d98746d60d7d757ab6a8bc0c016d9c4360 (diff) | |
download | Ninja-0cd066933511edb7869c5f6ce462b019a140ce3c.zip Ninja-0cd066933511edb7869c5f6ce462b019a140ce3c.tar.gz Ninja-0cd066933511edb7869c5f6ce462b019a140ce3c.tar.bz2 |
factor out windows perror equivalent
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -57,6 +57,9 @@ const char* SpellcheckString(const string& text, ...); #ifdef _WIN32 #define snprintf _snprintf + +/// Convert the value returned by GetLastError() into a string. +string GetLastErrorString(); #endif #endif // NINJA_UTIL_H_ |