Skip to content

Commit b8d26da

Browse files
author
Alex Waugh
committed
MFH Fix for RISC OS
1 parent 5dea328 commit b8d26da

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

main/php.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ END_EXTERN_C()
417417
*/
418418

419419
#ifndef XtOffset
420-
#if defined(CRAY) || (defined(__arm) && !defined(LINUX))
420+
#if defined(CRAY) || (defined(__arm) && !(defined(LINUX) || defined(__riscos__)))
421421
#ifdef __STDC__
422422
#define XtOffset(p_type, field) _Offsetof(p_type, field)
423423
#else

sapi/cgi/cgi_main.c

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969

7070
#ifdef __riscos__
7171
#include <unixlib/local.h>
72+
int __riscosify_control = __RISCOSIFY_STRICT_UNIX_SPECS;
7273
#endif
7374

7475
#include "zend_compile.h"

0 commit comments

Comments
 (0)