Re: php5 as universal binary (Mac OS X)
| From: | Antony Dovgal | 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,Great. Thanks for your help. -- Wbr, Antony DovgalI have tested it and it works good :)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 #endifYes, I guess you're right.