[PATCH] Fix compiling for RISC OS
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__
Thread (2 messages)
- Alex Waugh