aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/Error.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/Error.hxx')
-rw-r--r--src/util/Error.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/Error.hxx b/src/util/Error.hxx
index 82f01105f..ab66ae5cb 100644
--- a/src/util/Error.hxx
+++ b/src/util/Error.hxx
@@ -168,6 +168,12 @@ public:
#ifdef WIN32
void SetLastError(DWORD _code, const char *prefix);
void SetLastError(const char *prefix);
+
+ gcc_printf(3,4)
+ void FormatLastError(DWORD code, const char *fmt, ...);
+
+ gcc_printf(2,3)
+ void FormatLastError(const char *fmt, ...);
#endif
};