Re: [PHP-DEV] php5 as universal binary (Mac OS X)

2007-08-15 Thread Christian Speich
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

Re: [PHP-DEV] php5 as universal binary (Mac OS X)

2007-08-13 Thread Christian Speich
ast answer to ask the person (Christian Speich) who originally asked for help to test your patch. - Uwe Schindler [EMAIL PROTECTED] - http://www.php.net NSAPI SAPI developer Bremen, Germany -Original Message- From: Antony Dovgal [mailto:[EMAIL PROTECTED] Sent: Thursday, August 09

Re: [PHP-DEV] php5 as universal binary (Mac OS X)

2007-08-09 Thread Christian Speich
universal binaries. It could be better for a fast answer to ask the person (Christian Speich) who originally asked for help to test your patch. - Uwe Schindler [EMAIL PROTECTED] - http://www.php.net NSAPI SAPI developer Bremen, Germany -Original Message- From: Antony Dovgal [mai

RE: [PHP-DEV] php5 as universal binary (Mac OS X)

2007-07-27 Thread Christian Speich
+0200 schrieb Christian Speich: > thanks, > > thats great :) > > I would be try now if it works. > > I add these two lines after the configure to the main/php-config.h i > hope its correct: > #undef WORDS_BIGENDIAN > #define WORDS_BIGENDIAN __BIG_ENDIAN__ > >

RE: [PHP-DEV] php5 as universal binary (Mac OS X)

2007-07-27 Thread Christian Speich
n, so I replaced > > WORDS_BIGENDIAN macro (defined by configure) with __BIG_ENDIAN__ (defined > > by Mac GCC in compile time). > > > > If anyone have any suggestions on how to improve universal binary support > > so that > > it would not require patching, I'

[PHP-DEV] php5 as universal binary (Mac OS X)

2007-07-27 Thread Christian Speich
hello, I have asked in the gernal php list and they say I should be ask here: I have an problem with php5 as universal binary on Mac OsX. The universal binary was build on an intel mac and it works good... on an intel mac ;) When a friend it try on an ppc mac he had some problems. For example