From 7f5d35c9f9d5cd7d7926a3a9cd556783af306ab9 Mon Sep 17 00:00:00 2001 From: FreezyLemon Date: Mon, 1 Jan 2024 22:21:00 +0100 Subject: [PATCH] Fix %undef statement NASM warns that everything after the first argument is ignored, so each %undef needs its own line. There seems to be no res macro, so I removed the %undef for it. --- src/x86/sse.asm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/x86/sse.asm b/src/x86/sse.asm index 5e4d99360b..97ba92387b 100644 --- a/src/x86/sse.asm +++ b/src/x86/sse.asm @@ -441,7 +441,8 @@ cglobal weighted_sse_%1x%2, 6, 10, 9, \ %endif RET - %undef sum, kernel_width, res + %undef sum + %undef kernel_width %endmacro INIT_XMM ssse3