[PD-dev] iem16 compilation problem on osx
james tittle
tigital at mac.com
Tue Jan 16 15:31:13 CET 2007
On Jan 16, 2007, at 6:46 AM, Georg Holzmann wrote:
> iem16 does not compile on OSX - the error is before the int32 in
> the code below:
>
> ----8<-----------8<-------
>
> #ifdef __apple__
> #define HIOFFSET 0 /* word offset to find MSB */
> #define LOWOFFSET 1 /* word offset to find LSB */
> #define int32 int /* a data type that has 32 bits */
>
> #endif /* MACOSX */
...snip...
> ----8<-----------8<-------
>
> So maybe this __apple__ is not defined ? should this be defined
> automatically or otherwise changed to an other define ?
...yep, two things wrong here: it'd be __APPLE__ not __apple__, but
in this case I think we need something like __ppc__
jamie
More information about the Pd-dev
mailing list