Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31577 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96264 invoked by uid 1010); 15 Aug 2007 13:38:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 96248 invoked from network); 15 Aug 2007 13:38:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Aug 2007 13:38:28 -0000 Authentication-Results: pb1.pair.com header.from=antony@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=antony@zend.com; spf=pass; 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:59114] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 99/A0-22514-EC103C64 for ; Wed, 15 Aug 2007 09:38:27 -0400 Received: (qmail 7788 invoked from network); 15 Aug 2007 13:31:37 -0000 Received: from internal.zend.office (HELO ?127.0.0.1?) (10.1.1.1) by internal.zend.office with SMTP; 15 Aug 2007 13:31:37 -0000 Message-ID: <46C30036.8060303@zend.com> Date: Wed, 15 Aug 2007 17:31:34 +0400 User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: Christian Speich CC: Uwe Schindler , internals@lists.php.net References: <1185527744.6559.6.camel@kleinweby-laptop> <46A9BEC4.5040803@zend.com> <000001c7d038$264a54a0$4cf96686@VEGA> <46A9C98D.4000208@zend.com> <000301c7d048$b758c7a0$4cf96686@VEGA> <46BAD8E8.9000907@zend.com> <000001c7da9e$e1e35b10$0201a8c0@VEGA> <4EB97551-456D-48A8-A955-9E741B3D1996@kleinweby.de> <46C03185.4020200@zend.com> In-Reply-To: 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 15.08.2007 17:13, Christian Speich wrote: > 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 :) Great. Thanks for your help. -- Wbr, Antony Dovgal