summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/stacktrace_windows-inl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stacktrace_windows-inl.h b/src/stacktrace_windows-inl.h
index f329a7c..c747d96 100644
--- a/src/stacktrace_windows-inl.h
+++ b/src/stacktrace_windows-inl.h
@@ -31,13 +31,14 @@
//
// Windows implementation - just use CaptureStackBackTrace
+#include "config.h"
#include "port.h"
#include "stacktrace.h"
#include <DbgHelp.h>
_START_GOOGLE_NAMESPACE_
-// If you change this function, also change GetStackFrames below.
+GOOGLE_GLOG_DLL_DECL
int GetStackTrace(void** result, int max_depth, int skip_count) {
if (max_depth > 64) {
max_depth = 64;