aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-16 07:09:28 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-16 07:09:28 +0000
commita275365c72fb628c8ea1e246aac02f6ebcb2b20b (patch)
tree4036c63061b005fa50345dfa5aa040285cfeddf4
parent80ef1bad86ec23f65ceaa72286bfa0b882cec8bd (diff)
Avoid Curl_if2ip() on Interix as well. Fix by Rodney.
-rw-r--r--lib/if2ip.c4
-rw-r--r--lib/if2ip.h4
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 <unistd.h>
#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 <sys/socket.h>
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