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:
parent
c59d888394
commit
41ed8047d2
2 changed files with 2 additions and 2 deletions
|
@ -152,7 +152,7 @@ hashalloc(Hash_table_t* ref, ...)
|
||||||
va_copy(*vp, ap);
|
va_copy(*vp, ap);
|
||||||
vp++;
|
vp++;
|
||||||
}
|
}
|
||||||
#if __clang__ && __SIZEOF_POINTER__ == 4
|
#if __clang__ && __SIZEOF_POINTER__ == 4 && !__APPLE__
|
||||||
{
|
{
|
||||||
va_list np;
|
va_list np;
|
||||||
|
|
||||||
|
|
|
@ -234,7 +234,7 @@ tokscan(register char* s, char** nxt, const char* fmt, ...)
|
||||||
prv_f = f;
|
prv_f = f;
|
||||||
f = va_arg(ap, char*);
|
f = va_arg(ap, char*);
|
||||||
va_copy(prv_ap, ap);
|
va_copy(prv_ap, ap);
|
||||||
#if __clang__ && __SIZEOF_POINTER__ == 4
|
#if __clang__ && __SIZEOF_POINTER__ == 4 && !__APPLE__
|
||||||
{
|
{
|
||||||
va_list np;
|
va_list np;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue