Fix VC build by adding GOOGLE_GLOG_DLL_DECL
author <shinichiro.hamaji@gmail.com> <>
Thu, 31 Oct 2013 05:36:25 +0000 (05:36 +0000)
committer <shinichiro.hamaji@gmail.com> <>
Thu, 31 Oct 2013 05:36:25 +0000 (05:36 +0000)
git-svn-id: https://google-glog.googlecode.com/svn/trunk@138 eb4d4688-79bd-11dd-afb4-1d65580434c0

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

index cdd47b8..8f9ca98 100644 (file)
@@ -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) {
index 1d91b12..eb4a4c5 100755 (executable)
@@ -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) {