Browse Source

Fix for RISC OS

migration/RELEASE_1_0_0
Alex Waugh 21 years ago
parent
commit
b7d6d705f1
  1. 2
      main/php.h
  2. 1
      sapi/cgi/cgi_main.c

2
main/php.h

@ -415,7 +415,7 @@ END_EXTERN_C()
*/ */
#ifndef XtOffset #ifndef XtOffset
#if defined(CRAY) || (defined(__arm) && !defined(LINUX))
#if defined(CRAY) || (defined(__arm) && !(defined(LINUX) || defined(__riscos__)))
#ifdef __STDC__ #ifdef __STDC__
#define XtOffset(p_type, field) _Offsetof(p_type, field) #define XtOffset(p_type, field) _Offsetof(p_type, field)
#else #else

1
sapi/cgi/cgi_main.c

@ -69,6 +69,7 @@
#ifdef __riscos__ #ifdef __riscos__
#include <unixlib/local.h> #include <unixlib/local.h>
int __riscosify_control = __RISCOSIFY_STRICT_UNIX_SPECS;
#endif #endif
#include "zend_compile.h" #include "zend_compile.h"

Loading…
Cancel
Save