From 11954a14ca090122d892b9dc16dce3b241b31b03 Mon Sep 17 00:00:00 2001 From: GrieferAtWork Date: Fri, 27 Dec 2024 16:38:34 +0100 Subject: [PATCH] Fix build error --- src/deemon/objects/int_logic.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/deemon/objects/int_logic.h b/src/deemon/objects/int_logic.h index 019fa9e0a..719aa5403 100644 --- a/src/deemon/objects/int_logic.h +++ b/src/deemon/objects/int_logic.h @@ -36,13 +36,13 @@ DECL_BEGIN -#if Dee_SIZEOF_DIGIT == 2 +#if Dee_SIZEOF_DIGIT == 2 && defined(CONFIG_HAVE_memsetw) #define Dee_digit_memset(p, v, n) memsetw(p, v, n) -#elif Dee_SIZEOF_DIGIT == 4 +#elif Dee_SIZEOF_DIGIT == 4 && defined(CONFIG_HAVE_memsetl) #define Dee_digit_memset(p, v, n) memsetl(p, v, n) -#elif Dee_SIZEOF_DIGIT == 1 +#elif Dee_SIZEOF_DIGIT == 1 && defined(CONFIG_HAVE_memset) #define Dee_digit_memset(p, v, n) memset(p, v, n) -#elif Dee_SIZEOF_DIGIT == 8 +#elif Dee_SIZEOF_DIGIT == 8 && defined(CONFIG_HAVE_memsetq) #define Dee_digit_memset(p, v, n) memsetq(p, v, n) #else /* Dee_SIZEOF_DIGIT == ... */ #define Dee_digit_memset(p, v, n) \