Commit 0242c8e9 authored by 's avatar

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
parent a0bf19d0
...@@ -1081,7 +1081,7 @@ namespace base_logging { ...@@ -1081,7 +1081,7 @@ namespace base_logging {
// LogMessage::LogStream is a std::ostream backed by this streambuf. // LogMessage::LogStream is a std::ostream backed by this streambuf.
// This class ignores overflow and leaves two bytes at the end of the // This class ignores overflow and leaves two bytes at the end of the
// buffer to allow for a '\n' and '\0'. // buffer to allow for a '\n' and '\0'.
class LogStreamBuf : public std::streambuf { class GOOGLE_GLOG_DLL_DECL LogStreamBuf : public std::streambuf {
public: public:
// REQUIREMENTS: "len" must be >= 2 to account for the '\n' and '\n'. // REQUIREMENTS: "len" must be >= 2 to account for the '\n' and '\n'.
LogStreamBuf(char *buf, int len) { LogStreamBuf(char *buf, int len) {
......
...@@ -1085,7 +1085,7 @@ namespace base_logging { ...@@ -1085,7 +1085,7 @@ namespace base_logging {
// LogMessage::LogStream is a std::ostream backed by this streambuf. // LogMessage::LogStream is a std::ostream backed by this streambuf.
// This class ignores overflow and leaves two bytes at the end of the // This class ignores overflow and leaves two bytes at the end of the
// buffer to allow for a '\n' and '\0'. // buffer to allow for a '\n' and '\0'.
class LogStreamBuf : public std::streambuf { class GOOGLE_GLOG_DLL_DECL LogStreamBuf : public std::streambuf {
public: public:
// REQUIREMENTS: "len" must be >= 2 to account for the '\n' and '\n'. // REQUIREMENTS: "len" must be >= 2 to account for the '\n' and '\n'.
LogStreamBuf(char *buf, int len) { LogStreamBuf(char *buf, int len) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment