From d8467a1123fd101bf1209ce19a7bb33a5da9d3ce Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 13 May 2024 13:32:33 +0100 Subject: SKIA_IMPLEMENTATION is always defined, either 0 or 1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Jenkins --- external/skia/help-msvc-analyzer.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'external') 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(0) -- cgit