summaryrefslogtreecommitdiff
path: root/ext/standard/fsock.c
diff options
context:
space:
mode:
authorAlex Waugh <alexwaugh@php.net>2001-11-04 12:40:45 +0000
committerAlex Waugh <alexwaugh@php.net>2001-11-04 12:40:45 +0000
commitf1e32a8c82ce731cb8d2c6a708b890a51425c5f8 (patch)
treee20955324a3008a3891beace854fe9881bd89e54 /ext/standard/fsock.c
parent0bdd62c8aca3393168b52503161b50e0724b3e43 (diff)
downloadphp-git-f1e32a8c82ce731cb8d2c6a708b890a51425c5f8.tar.gz
Undefine AF_UNIX when compiled for RISC OS
Diffstat (limited to 'ext/standard/fsock.c')
-rw-r--r--ext/standard/fsock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/fsock.c b/ext/standard/fsock.c
index b01c176343..87ac6bcd2e 100644
--- a/ext/standard/fsock.c
+++ b/ext/standard/fsock.c
@@ -52,7 +52,7 @@
#include <arpa/inet.h>
#endif
#endif
-#ifdef PHP_WIN32
+#if defined(PHP_WIN32) || defined(__riscos__)
#undef AF_UNIX
#endif
#if defined(AF_UNIX)