| Index: base/logging.h
|
| diff --git a/base/logging.h b/base/logging.h
|
| index 1d094e3cbdd04327ac500e5bf530ff2b25b42d2d..54d6dfd00a329e52b721bb3aeea88d78de8dc83d 100644
|
| --- a/base/logging.h
|
| +++ b/base/logging.h
|
| @@ -468,7 +468,7 @@ std::string* MakeCheckOpString(const t1& v1, const t2& v2, const char* names) {
|
| }
|
|
|
| // MSVC doesn't like complex extern templates and DLLs.
|
| -#if !defined(COMPILER_MSVC)
|
| +#if !defined(COMPILER_MSVC) && defined(BASE_DLL)
|
| // Commonly used instantiations of MakeCheckOpString<>. Explicitly instantiated
|
| // in logging.cc.
|
| extern template std::string* MakeCheckOpString<int, int>(
|
| @@ -842,7 +842,7 @@ class BASE_API Win32ErrorLogMessage {
|
| };
|
| #elif defined(OS_POSIX)
|
| // Appends a formatted system message of the errno type
|
| -class ErrnoLogMessage {
|
| +class BASE_API ErrnoLogMessage {
|
| public:
|
| ErrnoLogMessage(const char* file,
|
| int line,
|
|
|