diff options
Diffstat (limited to 'base/logging.h')
-rw-r--r-- | base/logging.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/logging.h b/base/logging.h index 1d094e3..54d6dfd 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, |