1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

fix the @#$%@#$ build on macOS M1, again (re: 841c6800, c0fdc4a3)

This commit excludes all Apple systems from the workaround.
This commit is contained in:
Martijn Dekker 2021-05-15 02:46:35 +02:00
parent c59d888394
commit 41ed8047d2
2 changed files with 2 additions and 2 deletions

View file

@ -152,7 +152,7 @@ hashalloc(Hash_table_t* ref, ...)
va_copy(*vp, ap);
vp++;
}
#if __clang__ && __SIZEOF_POINTER__ == 4
#if __clang__ && __SIZEOF_POINTER__ == 4 && !__APPLE__
{
va_list np;

View file

@ -234,7 +234,7 @@ tokscan(register char* s, char** nxt, const char* fmt, ...)
prv_f = f;
f = va_arg(ap, char*);
va_copy(prv_ap, ap);
#if __clang__ && __SIZEOF_POINTER__ == 4
#if __clang__ && __SIZEOF_POINTER__ == 4 && !__APPLE__
{
va_list np;