Export GetStackTrace
Necessary when building with BUILD_SHARED_LIBS=1.
This commit is contained in:
parent
f1d64f7deb
commit
e2caf9876e
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user