Re: php5 as universal binary (Mac OS X)

From: 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 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 :) kleinweby

« previous php.internals (#31575) next »