summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Schwartzmeyer <andrew@schwartzmeyer.com>2017-05-25 20:43:39 (GMT)
committerAndrew Schwartzmeyer <andrew@schwartzmeyer.com>2017-06-27 17:50:20 (GMT)
commite2caf9876e79c39cd40eaf60894132e98857f759 (patch)
tree73230cd14ccca65341903f8ad7a94e04872c0c72 /src
parentf1d64f7debcbf236e73b8ccef942ffbd81ec1929 (diff)
downloadglog-e2caf9876e79c39cd40eaf60894132e98857f759.zip
glog-e2caf9876e79c39cd40eaf60894132e98857f759.tar.gz
glog-e2caf9876e79c39cd40eaf60894132e98857f759.tar.bz2
Export GetStackTrace
Necessary when building with BUILD_SHARED_LIBS=1.
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;