From: Daniel Stenberg Date: Fri, 16 Jan 2004 07:09:28 +0000 (+0000) Subject: Avoid Curl_if2ip() on Interix as well. Fix by Rodney. X-Git-Tag: curl-7_11_0~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a275365c72fb628c8ea1e246aac02f6ebcb2b20b;p=curl Avoid Curl_if2ip() on Interix as well. Fix by Rodney. --- 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