From: Date: Thu, 31 Jan 2013 03:49:40 +0000 (+0000) Subject: Add dllimport and dllexport for new symbols X-Git-Tag: submit/tizen/20180313.064233~107 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fdc710e355f602c2bc8b099c9a9403762f516fdb;p=platform%2Fupstream%2Fglog.git Add dllimport and dllexport for new symbols git-svn-id: https://google-glog.googlecode.com/svn/trunk@129 eb4d4688-79bd-11dd-afb4-1d65580434c0 --- diff --git a/src/glog/logging.h.in b/src/glog/logging.h.in index 57d077f..cdd47b8 100644 --- a/src/glog/logging.h.in +++ b/src/glog/logging.h.in @@ -617,11 +617,11 @@ inline void MakeCheckOpValueString(std::ostream* os, const T& v) { // Overrides for char types provide readable values for unprintable // characters. -template <> +template <> GOOGLE_GLOG_DLL_DECL void MakeCheckOpValueString(std::ostream* os, const char& v); -template <> +template <> GOOGLE_GLOG_DLL_DECL void MakeCheckOpValueString(std::ostream* os, const signed char& v); -template <> +template <> GOOGLE_GLOG_DLL_DECL void MakeCheckOpValueString(std::ostream* os, const unsigned char& v); // Build the error message string. Specify no inlining for code size. @@ -645,7 +645,7 @@ LogSeverity NormalizeSeverity(LogSeverity s); // base::BuildCheckOpString(exprtext, base::Print, &v1, // base::Print, &v2), however this approach has complications // related to volatile arguments and function-pointer arguments). -class CheckOpMessageBuilder { +class GOOGLE_GLOG_DLL_DECL CheckOpMessageBuilder { public: // Inserts "exprtext" and " (" to the stream. explicit CheckOpMessageBuilder(const char *exprtext); diff --git a/src/windows/glog/logging.h b/src/windows/glog/logging.h index 162669e..1d91b12 100755 --- a/src/windows/glog/logging.h +++ b/src/windows/glog/logging.h @@ -621,11 +621,11 @@ inline void MakeCheckOpValueString(std::ostream* os, const T& v) { // Overrides for char types provide readable values for unprintable // characters. -template <> +template <> GOOGLE_GLOG_DLL_DECL void MakeCheckOpValueString(std::ostream* os, const char& v); -template <> +template <> GOOGLE_GLOG_DLL_DECL void MakeCheckOpValueString(std::ostream* os, const signed char& v); -template <> +template <> GOOGLE_GLOG_DLL_DECL void MakeCheckOpValueString(std::ostream* os, const unsigned char& v); // Build the error message string. Specify no inlining for code size. @@ -649,7 +649,7 @@ LogSeverity NormalizeSeverity(LogSeverity s); // base::BuildCheckOpString(exprtext, base::Print, &v1, // base::Print, &v2), however this approach has complications // related to volatile arguments and function-pointer arguments). -class CheckOpMessageBuilder { +class GOOGLE_GLOG_DLL_DECL CheckOpMessageBuilder { public: // Inserts "exprtext" and " (" to the stream. explicit CheckOpMessageBuilder(const char *exprtext);