From: Date: Thu, 31 Oct 2013 05:36:25 +0000 (+0000) Subject: Fix VC build by adding GOOGLE_GLOG_DLL_DECL X-Git-Tag: submit/tizen/20180313.064233~98 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0242c8e94d5857c313b2df0354f34003ed99f329;p=platform%2Fupstream%2Fglog.git Fix VC build by adding GOOGLE_GLOG_DLL_DECL git-svn-id: https://google-glog.googlecode.com/svn/trunk@138 eb4d4688-79bd-11dd-afb4-1d65580434c0 --- diff --git a/src/glog/logging.h.in b/src/glog/logging.h.in index cdd47b8..8f9ca98 100644 --- a/src/glog/logging.h.in +++ b/src/glog/logging.h.in @@ -1081,7 +1081,7 @@ namespace base_logging { // LogMessage::LogStream is a std::ostream backed by this streambuf. // This class ignores overflow and leaves two bytes at the end of the // buffer to allow for a '\n' and '\0'. -class LogStreamBuf : public std::streambuf { +class GOOGLE_GLOG_DLL_DECL LogStreamBuf : public std::streambuf { public: // REQUIREMENTS: "len" must be >= 2 to account for the '\n' and '\n'. LogStreamBuf(char *buf, int len) { diff --git a/src/windows/glog/logging.h b/src/windows/glog/logging.h index 1d91b12..eb4a4c5 100755 --- a/src/windows/glog/logging.h +++ b/src/windows/glog/logging.h @@ -1085,7 +1085,7 @@ namespace base_logging { // LogMessage::LogStream is a std::ostream backed by this streambuf. // This class ignores overflow and leaves two bytes at the end of the // buffer to allow for a '\n' and '\0'. -class LogStreamBuf : public std::streambuf { +class GOOGLE_GLOG_DLL_DECL LogStreamBuf : public std::streambuf { public: // REQUIREMENTS: "len" must be >= 2 to account for the '\n' and '\n'. LogStreamBuf(char *buf, int len) {