Re: php5 as universal binary (Mac OS X)
| From: | Christian Speich | Date: | Wed, 15 Aug 2007 13:13:29 +0000 |
| Subject: | Re: php5 as universal binary (Mac OS X) | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-31575@lists.php.net to get a copy of this message | ||
hello,
I have tested it and it works good :) kleinwebyI 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.