Re: php5 as universal binary (Mac OS X)

From: Date: Wed, 15 Aug 2007 13:31:34 +0000
Subject: Re: php5 as universal binary (Mac OS X)
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-31577@lists.php.net to get a copy of this message
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

« previous php.internals (#31577) next »