summaryrefslogtreecommitdiff
path: root/o3tl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-12-22 09:27:33 +0100
committerStephan Bergmann <sbergman@redhat.com>2021-12-22 13:41:34 +0100
commite88fbc883fd7fc06c324819bae35cb8d3a80ab77 (patch)
treed77d1f5194ed0d197734130cb94a2e0aea359a2e /o3tl
parentcd057f55bae74c6a14d893d292286909430b4382 (diff)
-Werror,-Wundef (clang-cl)
Change-Id: Ife97d1645c0ef4684a00f943c649b19623290d7d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127299 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'o3tl')
-rw-r--r--o3tl/qa/test-string_view.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/o3tl/qa/test-string_view.cxx b/o3tl/qa/test-string_view.cxx
index a18a00ad71d9..80f757529eee 100644
--- a/o3tl/qa/test-string_view.cxx
+++ b/o3tl/qa/test-string_view.cxx
@@ -22,7 +22,7 @@
#include <rtl/ustring.hxx>
// gcc 11.2.0 triggers a spurious -Werror=stringop-overread
-#if !(__GNUC__ == 11 && __GNUC_MINOR__ == 2)
+#if !(defined __GNUC__ && __GNUC__ == 11 && __GNUC_MINOR__ == 2)
namespace CppUnit
{