[PD-dev] iem16 compilation problem on osx
Thomas Grill
gr at grrrr.org
Tue Jan 16 15:53:15 CET 2007
Hi all,
i already submitted patches for this and other issues with IEM
sources to the patch tracker a while ago.
IEM stuff doesn't correctly deal with Mac/Intel endianness at the
moment.
greetings,
Thomas
Am 16.01.2007 um 15:31 schrieb james tittle:
> 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
>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev
>
>
Thomas Grill
http://grrrr.org
More information about the Pd-dev
mailing list