summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-06-15 20:43:13 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2019-06-24 17:27:22 +0100
commit3dd1942bece79fb99f4018ea7b5df7a00056e833 (patch)
tree261238f7fa8e682ac9d6e3e119dcb85457b19cfa /src
parentcc9e47c995fc9bb5526f8e83a27c5f2af6a6f6d9 (diff)
downloadlibgit2-3dd1942bece79fb99f4018ea7b5df7a00056e833.tar.gz
win32: don't re-define RtlCaptureStackBackTrace
RtlCaptureStackBackTrace is well-defined in Windows, no need to redefine it.
Diffstat (limited to 'src')
-rw-r--r--src/win32/w32_stack.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/win32/w32_stack.c b/src/win32/w32_stack.c
index c9d6b1a28..6eb71962a 100644
--- a/src/win32/w32_stack.c
+++ b/src/win32/w32_stack.c
@@ -13,11 +13,6 @@
#include "win32/posix.h"
#include "hash.h"
-/**
- * This is supposedly defined in WinBase.h (from Windows.h) but there were linker issues.
- */
-USHORT WINAPI RtlCaptureStackBackTrace(ULONG, ULONG, PVOID*, PULONG);
-
static bool g_win32_stack_initialized = false;
static HANDLE g_win32_stack_process = INVALID_HANDLE_VALUE;
static git_win32__stack__aux_cb_alloc g_aux_cb_alloc = NULL;