diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sal/log.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sal/log.hxx b/include/sal/log.hxx index 943ab3169bca..f92f36e2ff33 100644 --- a/include/sal/log.hxx +++ b/include/sal/log.hxx @@ -192,7 +192,8 @@ inline char const * unwrapStream(SAL_UNUSED_PARAMETER StreamIgnore const &) { @since LibreOffice 3.5 */ -#if defined _LIBCPP_VERSION || (defined _MSC_VER && _MSC_VER >= 1915) +#if defined _LIBCPP_VERSION || (defined _GLIBCXX_RELEASE && _GLIBCXX_RELEASE >= 12) \ + || (defined _MSC_VER && _MSC_VER >= 1915) #define SAL_STREAM(stream) \ (::std::ostringstream() << stream).str() #else |