Commit 2a6df662 authored by Shinichiro Hamaji's avatar Shinichiro Hamaji Committed by GitHub

Merge pull request #228 from sergiud/dll-export-fix

Fix for missing exports (fixes #227)
parents 246a5896 1bfae383
...@@ -931,7 +931,8 @@ struct CompileAssert { ...@@ -931,7 +931,8 @@ struct CompileAssert {
struct CrashReason; struct CrashReason;
// Returns true if FailureSignalHandler is installed. // Returns true if FailureSignalHandler is installed.
bool IsFailureSignalHandlerInstalled(); // Needs to be exported since it's used by the signalhandler_unittest.
GOOGLE_GLOG_DLL_DECL bool IsFailureSignalHandlerInstalled();
} // namespace glog_internal_namespace_ } // namespace glog_internal_namespace_
#define LOG_EVERY_N(severity, n) \ #define LOG_EVERY_N(severity, n) \
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
#define BASE_STACKTRACE_H_ #define BASE_STACKTRACE_H_
#include "config.h" #include "config.h"
#include "glog/logging.h"
_START_GOOGLE_NAMESPACE_ _START_GOOGLE_NAMESPACE_
...@@ -53,7 +54,7 @@ _START_GOOGLE_NAMESPACE_ ...@@ -53,7 +54,7 @@ _START_GOOGLE_NAMESPACE_
// .... ... // .... ...
// //
// "result" must not be NULL. // "result" must not be NULL.
extern int GetStackTrace(void** result, int max_depth, int skip_count); GOOGLE_GLOG_DLL_DECL int GetStackTrace(void** result, int max_depth, int skip_count);
_END_GOOGLE_NAMESPACE_ _END_GOOGLE_NAMESPACE_
......
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
_START_GOOGLE_NAMESPACE_ _START_GOOGLE_NAMESPACE_
GOOGLE_GLOG_DLL_DECL
int GetStackTrace(void** result, int max_depth, int skip_count) { int GetStackTrace(void** result, int max_depth, int skip_count) {
if (max_depth > 64) { if (max_depth > 64) {
max_depth = 64; max_depth = 64;
......
...@@ -148,7 +148,7 @@ _START_GOOGLE_NAMESPACE_ ...@@ -148,7 +148,7 @@ _START_GOOGLE_NAMESPACE_
// symbol name to "out". The symbol name is demangled if possible // symbol name to "out". The symbol name is demangled if possible
// (supports symbols generated by GCC 3.x or newer). Otherwise, // (supports symbols generated by GCC 3.x or newer). Otherwise,
// returns false. // returns false.
bool Symbolize(void *pc, char *out, int out_size); GOOGLE_GLOG_DLL_DECL bool Symbolize(void *pc, char *out, int out_size);
_END_GOOGLE_NAMESPACE_ _END_GOOGLE_NAMESPACE_
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment