distutils & OS X universal binaries
Robin Becker
robin at reportlab.com
Mon Dec 10 09:43:27 EST 2007
Robin Becker wrote:
........
>> Ok. Still, I would write it as
>>
>> #if defined(__LITTLE_ENDIAN__)
>> #undef WORDS_BIGENDIAN
>> #elif defined(__BIG_ENDIAN__)
>> #undef WORDS_BIGENDIAN
>> #define WORDS_BIGENDIAN 1
>> #endif
>>
>> Regards,
>> Martin
> I'm never sure if undef gives an error if the variable isn't defined,
> but that is cleaner
>
> thanks for the assistance
Just like to say my testee/victim reports great success with the above snippet
inserted into the right config file. Thanks to all.
--
Robin Becker
More information about the Python-list
mailing list