fix the @#$%@#$ build on macOS M1, again (re: 841c6800, c0fdc4a3)
This commit excludes all Apple systems from the workaround.
This commit is contained in:
parent
c59d888394
commit
41ed8047d2
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue