On 27.07.2007 14:23, Uwe Schindler wrote:
The simpliest would be to create a patch that is included *after* the
configure-generated .h file. I do not exactly now, in which PHP/Zend
specific .h file the configure generated php_config.h one is included, but
that would be the place to place the following macro:

#if defined(MACOSX)   (I do not know the exact macro for detecting osx)
# undef WORDS_BIGENDIAN
# define WORDS_BIGENDIAN __BIG_ENDIAN__
#endif

I'm not completely sure it's ok when you're NOT compiling a universal binary.
Also the __BIG_ENDIAN__ constant my not exist IIRC.

But the main reason of course is the fact that the patch I use works just fine and I'm not relly interested in debugging something that isn't broken for me.
If you are - feel free to spend some time on this issue, I'd help you where I 
can.

--
Wbr, Antony Dovgal

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to