summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorAlex Waugh <alexwaugh@php.net>2006-03-07 22:37:18 +0000
committerAlex Waugh <alexwaugh@php.net>2006-03-07 22:37:18 +0000
commitb7d6d705f1e471544418cf8febb62943ece9e8ce (patch)
tree6b34ba03c23367618e8063996e5d51e8447c5b9d /main/php.h
parentad777e3c78cd6927c090ae91535bebd1e68fca11 (diff)
downloadphp-git-b7d6d705f1e471544418cf8febb62943ece9e8ce.tar.gz
Fix for RISC OS
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 b8b107ca05..a4394337a7 100644
--- a/main/php.h
+++ b/main/php.h
@@ -415,7 +415,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