summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author <shinichiro.hamaji@gmail.com>2013-10-31 05:36:25 +0000
committer <shinichiro.hamaji@gmail.com>2013-10-31 05:36:25 +0000
commit0242c8e94d5857c313b2df0354f34003ed99f329 (patch)
tree50715e81ef0661c0a590ccc37a1f4e7877c66323 /src
parenta0bf19d0dfe1af3540c09796b1d860e5e998bd60 (diff)
downloadglog-0242c8e94d5857c313b2df0354f34003ed99f329.tar.gz
glog-0242c8e94d5857c313b2df0354f34003ed99f329.tar.bz2
glog-0242c8e94d5857c313b2df0354f34003ed99f329.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/glog/logging.h.in2
-rwxr-xr-xsrc/windows/glog/logging.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/glog/logging.h.in b/src/glog/logging.h.in
index cdd47b8..8f9ca98 100644
--- a/src/glog/logging.h.in
+++ b/src/glog/logging.h.in
@@ -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) {
diff --git a/src/windows/glog/logging.h b/src/windows/glog/logging.h
index 1d91b12..eb4a4c5 100755
--- a/src/windows/glog/logging.h
+++ b/src/windows/glog/logging.h
@@ -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) {