summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Waugh <alexwaugh@php.net>2001-12-23 00:46:13 +0000
committerAlex Waugh <alexwaugh@php.net>2001-12-23 00:46:13 +0000
commite320de1e2e20d850f41782a76b2f16242605fd74 (patch)
tree069f06f097af9c6dcc43bb963333b824b48a5afd
parent3b091175357cf54e2c38b50519430ff6c4a1cf94 (diff)
downloadphp-git-e320de1e2e20d850f41782a76b2f16242605fd74.tar.gz
Undefine AF_UNIX under RISC OS
-rw-r--r--ext/standard/ftp_fopen_wrapper.c2
-rw-r--r--ext/standard/http_fopen_wrapper.c2
-rw-r--r--main/fopen_wrappers.c2
-rw-r--r--main/network.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/ftp_fopen_wrapper.c b/ext/standard/ftp_fopen_wrapper.c
index 281c661419..8149eef5ec 100644
--- a/ext/standard/ftp_fopen_wrapper.c
+++ b/ext/standard/ftp_fopen_wrapper.c
@@ -56,7 +56,7 @@
#endif
#endif
-#ifdef PHP_WIN32
+#if defined(PHP_WIN32) || defined(__riscos__)
#undef AF_UNIX
#endif
diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c
index fdd20ce361..bb54225f15 100644
--- a/ext/standard/http_fopen_wrapper.c
+++ b/ext/standard/http_fopen_wrapper.c
@@ -56,7 +56,7 @@
#endif
#endif
-#ifdef PHP_WIN32
+#if defined(PHP_WIN32) || defined(__riscos__)
#undef AF_UNIX
#endif
diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c
index d760e2b4b3..2698a81331 100644
--- a/main/fopen_wrappers.c
+++ b/main/fopen_wrappers.c
@@ -73,7 +73,7 @@
#endif
#endif
-#ifdef PHP_WIN32
+#if defined(PHP_WIN32) || defined(__riscos__)
#undef AF_UNIX
#endif
diff --git a/main/network.c b/main/network.c
index dd42fa1ba4..597bcb6901 100644
--- a/main/network.c
+++ b/main/network.c
@@ -55,7 +55,7 @@ int inet_aton(const char *, struct in_addr *);
#include "php_network.h"
-#ifdef PHP_WIN32
+#if defined(PHP_WIN32) || defined(__riscos__)
#undef AF_UNIX
#endif