Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22235 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63194 invoked by uid 1010); 7 Mar 2006 22:46:38 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63179 invoked from network); 7 Mar 2006 22:46:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Mar 2006 22:46:38 -0000 X-Host-Fingerprint: 81.103.221.48 mta08-winn.ispmail.ntl.com Solaris 8 (1) Received: from ([81.103.221.48:49079] helo=mta08-winn.ispmail.ntl.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id DC/D5-27106-D4D0E044 for ; Tue, 07 Mar 2006 17:46:37 -0500 Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mta08-winn.ispmail.ntl.com with ESMTP id <20060307224633.MVWD29066.mta08-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Tue, 7 Mar 2006 22:46:33 +0000 Received: from chocolate.cp15.org ([81.96.67.73]) by aamtaout03-winn.ispmail.ntl.com with ESMTP id <20060307224633.BGKG1353.aamtaout03-winn.ispmail.ntl.com@chocolate.cp15.org> for ; Tue, 7 Mar 2006 22:46:33 +0000 Received: from [172.16.0.2] (helo=caramel.cp15.org) by chocolate.cp15.org with esmtpsa (Exim 4.60 #1 (Debian)) id 1FGkwo-0008Oq-W0 for ; Tue, 07 Mar 2006 22:46:31 +0000 Received: from ajw498 by caramel.cp15.org with local (RemoteNB 3.00) for internals@lists.php.net; 07 Mar 2006 22:51:55 +0000 Date: Tue, 07 Mar 2006 22:51:54 GMT To: internals@lists.php.net Message-ID: <1d1817044e.ajw498@caramel.cp15.org> X-Organization: Sometimes User-Agent: Messenger-Pro/4.03 (RemoteNB/3.00) (RISC-OS/5.11) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [PATCH] Fix compiling for RISC OS From: alexwaugh@php.net (Alex Waugh) Hi Could someone with Zend karma commit this to trunk and 5.1 branch please to fix things for compiling for RISC OS. Thanks Alex Index: Zend/zend_ini.h =================================================================== RCS file: /repository/ZendEngine2/zend_ini.h,v retrieving revision 1.37 diff -u -r1.37 zend_ini.h --- Zend/zend_ini.h 21 Feb 2006 08:00:39 -0000 1.37 +++ Zend/zend_ini.h 7 Mar 2006 22:41:41 -0000 @@ -28,7 +28,7 @@ #define ZEND_INI_ALL (ZEND_INI_USER|ZEND_INI_PERDIR|ZEND_INI_SYSTEM) #ifndef XtOffsetOf -# if defined(CRAY) || (defined(__arm) && !defined(LINUX)) +# if defined(CRAY) || (defined(__arm) && !(defined(LINUX) || defined(__riscos__))) # ifdef __STDC__ # define XtOffset(p_type, field) _Offsetof(p_type, field) # else Index: Zend/zend_strtod.c =================================================================== RCS file: /repository/ZendEngine2/zend_strtod.c,v retrieving revision 1.21 diff -u -r1.21 zend_strtod.c --- Zend/zend_strtod.c 21 Feb 2006 08:00:39 -0000 1.21 +++ Zend/zend_strtod.c 7 Mar 2006 22:41:42 -0000 @@ -132,6 +132,7 @@ * but the word order is big endian. */ #define IEEE_BIG_ENDIAN +#undef IEEE_LITTLE_ENDIAN #endif #ifdef __vax__