Skip to content

Commit

Permalink
Add dllimport and dllexport for new symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
shinh committed Jan 31, 2013
1 parent d2a7094 commit c450e94
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/glog/logging.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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);
Expand Down
8 changes: 4 additions & 4 deletions src/windows/glog/logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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);
Expand Down

0 comments on commit c450e94

Please sign in to comment.