external/skia/help-msvc-analyzer.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d8467a1123fd101bf1209ce19a7bb33a5da9d3ce Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Mon May 13 13:32:33 2024 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Mon May 13 17:38:28 2024 +0200 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.mcnam...@collabora.com> Tested-by: Jenkins 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)