From: Alex Waugh Date: Sun, 23 Dec 2001 00:46:13 +0000 (+0000) Subject: Undefine AF_UNIX under RISC OS X-Git-Tag: PRE_ISSET_PATCH~442 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e320de1e2e20d850f41782a76b2f16242605fd74;p=php Undefine AF_UNIX under RISC OS --- 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