https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d26409cc34bacf2e544c70...
commit d26409cc34bacf2e544c70635a0330a02bb0e15e Author: Konrad Dybcio 32096130+konradybcio@users.noreply.github.com AuthorDate: Wed Oct 20 21:12:23 2021 +0200 Commit: GitHub noreply@github.com CommitDate: Wed Oct 20 22:12:23 2021 +0300
[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