From e320de1e2e20d850f41782a76b2f16242605fd74 Mon Sep 17 00:00:00 2001 From: Alex Waugh Date: Sun, 23 Dec 2001 00:46:13 +0000 Subject: [PATCH] Undefine AF_UNIX under RISC OS --- ext/standard/ftp_fopen_wrapper.c | 2 +- ext/standard/http_fopen_wrapper.c | 2 +- main/fopen_wrappers.c | 2 +- main/network.c | 2 +- 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 -- 2.40.0