aboutsummaryrefslogtreecommitdiff
path: root/src/lib/log/win32err.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-27 14:45:17 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-27 14:45:17 -0400
commit000de2f2ac4f740be8351673691371d78a5da7e9 (patch)
tree1212f745111239dd7713c956ae60b081edfe912a /src/lib/log/win32err.h
parent21136037182f55b5aef3730853e65fa2c7ebd722 (diff)
parent3d606dddb9a104466906069bd21acbdfb1270b58 (diff)
downloadtor-000de2f2ac4f740be8351673691371d78a5da7e9.tar.gz
tor-000de2f2ac4f740be8351673691371d78a5da7e9.zip
Merge branch 'fs_refactor'
Diffstat (limited to 'src/lib/log/win32err.h')
-rw-r--r--src/lib/log/win32err.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib/log/win32err.h b/src/lib/log/win32err.h
new file mode 100644
index 0000000000..61d3af57dd
--- /dev/null
+++ b/src/lib/log/win32err.h
@@ -0,0 +1,17 @@
+/* Copyright (c) 2003-2004, Roger Dingledine
+ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
+ * Copyright (c) 2007-2018, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
+#ifndef TOR_WIN32ERR_H
+#define TOR_WIN32ERR_H
+
+#include "orconfig.h"
+
+/* Platform-specific helpers. */
+#ifdef _WIN32
+#include <windef.h>
+char *format_win32_error(DWORD err);
+#endif
+
+#endif