Export GetStackTrace
authorAndrew Schwartzmeyer <andrew@schwartzmeyer.com>
Thu, 25 May 2017 20:43:39 +0000 (13:43 -0700)
committerAndrew Schwartzmeyer <andrew@schwartzmeyer.com>
Tue, 27 Jun 2017 17:50:20 +0000 (10:50 -0700)
Necessary when building with BUILD_SHARED_LIBS=1.

src/stacktrace_windows-inl.h

index f329a7c..c747d96 100644 (file)
 //
 // 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;