summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-05-13 13:32:33 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-05-13 17:38:28 +0200
commitd8467a1123fd101bf1209ce19a7bb33a5da9d3ce (patch)
treef77cb82b17b670df7b0986e3f59476cef6176250 /external
parentb3a9032378528a691bc97b71a7464712e18c8f4e (diff)
SKIA_IMPLEMENTATION is always defined, either 0 or 1
rather than !defined in the not-building-skia case Change-Id: Ib27783c958e327b01ab9c8496eee969c6f9c50a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167591 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'external')
-rw-r--r--external/skia/help-msvc-analyzer.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/skia/help-msvc-analyzer.patch b/external/skia/help-msvc-analyzer.patch
index d7305a81cf07..f9080782ce59 100644
--- a/external/skia/help-msvc-analyzer.patch
+++ b/external/skia/help-msvc-analyzer.patch
@@ -5,7 +5,7 @@
#endif
+// when building with msvc and only when using these headers outside the skia build
-+#if defined(_MSC_VER) && !defined(SKIA_IMPLEMENTATION)
++#if defined(_MSC_VER) && !SKIA_IMPLEMENTATION
+# define SkANALYSIS_ASSUME(condition) __analysis_assume(condition)
+#else
+# define SkANALYSIS_ASSUME(condition) static_cast<void>(0)