From d26409cc34bacf2e544c70635a0330a02bb0e15e Mon Sep 17 00:00:00 2001 From: Konrad Dybcio <32096130+konradybcio@users.noreply.github.com> Date: Wed, 20 Oct 2021 21:12:23 +0200 Subject: [PATCH] [SDK][MKISOFS] xconfig.h: Don't define VA_LIST_IS_ARRAY on Linux/ARM(64) (#4012) For some bizarre reason ARM toolchains have some peculiar issues with various va_arg macros, as this is not the first time one of these is problematic (though I don't remember the previous one, it was a long, long time ago :tm:).. They always seem to expect va_list as an argument though, so let's make them happy and by extension make ros-tools compile on Linux/ARM(64) compile again! --- sdk/tools/mkisofs/reactos/xconfig.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/tools/mkisofs/reactos/xconfig.h b/sdk/tools/mkisofs/reactos/xconfig.h index 8cb5b739500..19b340402f2 100644 --- a/sdk/tools/mkisofs/reactos/xconfig.h +++ b/sdk/tools/mkisofs/reactos/xconfig.h @@ -180,8 +180,10 @@ #define HAVE_LONGLONG 1 #ifndef _WIN32 +#if !defined(__arm__) && !defined(__aarch64__) #define VA_LIST_IS_ARRAY 1 #endif +#endif #ifdef _WIN32 #define uid_t int