[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 ™️).. 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!
This commit is contained in:
Konrad Dybcio 2021-10-20 21:12:23 +02:00 committed by GitHub
parent 396b49436c
commit d26409cc34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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