[patches:#550] Less restrictive definition of t_gotfn on arm64
Status: open
Group: bugfix
Labels: public interface
Created: Tue May 05, 2015 03:03 PM UTC by IOhannes m zmölnig
Last Updated: Tue May 05, 2015 03:03 PM UTC
Owner: Miller Puckette
Currently t_gotfn
is declared differently on arm64 and elsewhere:
#ifdef __aarch64__ typedef void (*t_gotfn)(void *x); #else typedef void (*t_gotfn)(void *x, ...); #endif
As reported by Debian bug #783824, the restrictive definition of t_gotfn
on arm64 only
makes sense on iOS, but not on Linux (where different calling conventions are
used).
As the restrictive definition needlessly breaks builds on linux/arm64, this
patch applies to restrictive definition only on OSX/arm64 (rather than
any/arm64):
#if defined(__APPLE__) && defined(__aarch64__) typedef void (*t_gotfn)(void *x); #else typedef void (*t_gotfn)(void *x, ...); #endif
Sent from sourceforge.net because pd-dev@lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/patches/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.