summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php.h b/main/php.h
index 0dbb55c570..001a277029 100644
--- a/main/php.h
+++ b/main/php.h
@@ -417,7 +417,7 @@ END_EXTERN_C()
*/
#ifndef XtOffset
-#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