mirror of
https://github.com/curl/curl.git
synced 2026-04-14 21:41:41 +03:00
Avoid Curl_if2ip() on Interix as well. Fix by Rodney.
This commit is contained in:
parent
80ef1bad86
commit
a275365c72
2 changed files with 4 additions and 4 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue