Merge pull request #228 from sergiud/dll-export-fix
authorShinichiro Hamaji <shinichiro.hamaji@gmail.com>
Wed, 9 Aug 2017 15:06:08 +0000 (00:06 +0900)
committerGitHub <noreply@github.com>
Wed, 9 Aug 2017 15:06:08 +0000 (00:06 +0900)
Fix for missing exports (fixes #227)

1  2 
src/glog/logging.h.in

@@@ -931,10 -931,17 +931,11 @@@ struct CompileAssert 
  struct CrashReason;
  
  // 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_
  
 -#define GOOGLE_GLOG_COMPILE_ASSERT(expr, msg) \
 -  typedef @ac_google_namespace@::glog_internal_namespace_::CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]
 -
  #define LOG_EVERY_N(severity, n)                                        \
 -  GOOGLE_GLOG_COMPILE_ASSERT(@ac_google_namespace@::GLOG_ ## severity < \
 -                             @ac_google_namespace@::NUM_SEVERITIES,     \
 -                             INVALID_REQUESTED_LOG_SEVERITY);           \
    SOME_KIND_OF_LOG_EVERY_N(severity, (n), @ac_google_namespace@::LogMessage::SendToLog)
  
  #define SYSLOG_EVERY_N(severity, n) \