summaryrefslogtreecommitdiff
path: root/src/util/win32/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/win32/error.h')
-rw-r--r--src/util/win32/error.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/util/win32/error.h b/src/util/win32/error.h
new file mode 100644
index 000000000..fd53b7f99
--- /dev/null
+++ b/src/util/win32/error.h
@@ -0,0 +1,15 @@
+/*
+ * Copyright (C) the libgit2 contributors. All rights reserved.
+ *
+ * This file is part of libgit2, distributed under the GNU GPL v2 with
+ * a Linking Exception. For full terms see the included COPYING file.
+ */
+
+#ifndef INCLUDE_win32_error_h__
+#define INCLUDE_win32_error_h__
+
+#include "git2_util.h"
+
+extern char *git_win32_get_error_message(DWORD error_code);
+
+#endif