From a275365c72fb628c8ea1e246aac02f6ebcb2b20b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 16 Jan 2004 07:09:28 +0000 Subject: [PATCH] Avoid Curl_if2ip() on Interix as well. Fix by Rodney. --- lib/if2ip.c | 4 ++-- lib/if2ip.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/if2ip.c b/lib/if2ip.c index 249be7ce2..627422b94 100644 --- a/lib/if2ip.c +++ b/lib/if2ip.c @@ -32,8 +32,8 @@ #include #endif -#if ! defined(WIN32) && ! defined(__BEOS__) && !defined(__CYGWIN32__) && \ - ! defined(__riscos__) +#if !defined(WIN32) && !defined(__BEOS__) && !defined(__CYGWIN32__) && \ + !defined(__riscos__) && !defined(__INTERIX) #ifdef HAVE_SYS_SOCKET_H #include diff --git a/lib/if2ip.h b/lib/if2ip.h index 566d68ba8..239087d74 100644 --- a/lib/if2ip.h +++ b/lib/if2ip.h @@ -24,8 +24,8 @@ ***************************************************************************/ #include "setup.h" -#if ! defined(WIN32) && ! defined(__BEOS__) && !defined(__CYGWIN32__) && \ - ! defined(__riscos__) +#if !defined(WIN32) && !defined(__BEOS__) && !defined(__CYGWIN32__) && \ + !defined(__riscos__) !defined(__INTERIX) extern char *Curl_if2ip(char *interface, char *buf, int buf_size); #else #define Curl_if2ip(a,b,c) NULL