On 15.08.2007 17:13, Christian Speich wrote:
hello,
I think the code should look like this:
if (defined(__APPLE__) || defined(__APPLE_CC__)) && (defined
(__BIG_ENDIAN__) || defined(__LITTLE_ENDIAN__))
# if defined(__LITTLE_ENDIAN__)
# undef WORDS_BIGENDIAN
# else if defined(__BIG_ENDIAN__)
# define WORDS_BIGENDIAN
# endif
#endif
Yes, I guess you're right.
I have tested it and it works good :)
Great.
Thanks for your help.
--
Wbr,
Antony Dovgal
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php