Add dllimport and dllexport for new symbols
author <shinichiro.hamaji@gmail.com> <>
Thu, 31 Jan 2013 03:49:40 +0000 (03:49 +0000)
committer <shinichiro.hamaji@gmail.com> <>
Thu, 31 Jan 2013 03:49:40 +0000 (03:49 +0000)
git-svn-id: https://google-glog.googlecode.com/svn/trunk@129 eb4d4688-79bd-11dd-afb4-1d65580434c0

src/glog/logging.h.in
src/windows/glog/logging.h

index 57d077f..cdd47b8 100644 (file)
@@ -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<T1>, &v1,
 // base::Print<T2>, &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);
index 162669e..1d91b12 100755 (executable)
@@ -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<T1>, &v1,
 // base::Print<T2>, &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);