]> granicus.if.org Git - php/commitdiff
Undefine AF_UNIX when compiled for RISC OS
authorAlex Waugh <alexwaugh@php.net>
Sun, 4 Nov 2001 12:40:45 +0000 (12:40 +0000)
committerAlex Waugh <alexwaugh@php.net>
Sun, 4 Nov 2001 12:40:45 +0000 (12:40 +0000)
ext/standard/fsock.c

index b01c1763439a7962e78a1e9db381140ac1570f01..87ac6bcd2e52b364ff3d92ddacfc0b49c3288722 100644 (file)
@@ -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)