Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31298 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58841 invoked by uid 1010); 27 Jul 2007 10:31:45 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 58826 invoked from network); 27 Jul 2007 10:31:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jul 2007 10:31:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=antony@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=antony@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: antony@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:40043] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 68/91-42465-F89C9A64 for ; Fri, 27 Jul 2007 06:31:45 -0400 Received: (qmail 12979 invoked from network); 27 Jul 2007 10:31:40 -0000 Received: from internal.zend.office (HELO ?127.0.0.1?) (10.1.1.1) by internal.zend.office with SMTP; 27 Jul 2007 10:31:40 -0000 Message-ID: <46A9C98D.4000208@zend.com> Date: Fri, 27 Jul 2007 14:31:41 +0400 User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Uwe Schindler CC: internals@lists.php.net References: <1185527744.6559.6.camel@kleinweby-laptop> <46A9BEC4.5040803@zend.com> <000001c7d038$264a54a0$4cf96686@VEGA> In-Reply-To: <000001c7d038$264a54a0$4cf96686@VEGA> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] php5 as universal binary (Mac OS X) From: antony@zend.com (Antony Dovgal) 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