Skip to content

Commit

Permalink
Export GetStackTrace
Browse files Browse the repository at this point in the history
Necessary when building with BUILD_SHARED_LIBS=1.
  • Loading branch information
andyleejordan committed Jun 27, 2017
1 parent f1d64f7 commit e2caf98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/stacktrace_windows-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e2caf98

Please sign in to comment.