From 7e45a1ac5310cba784fe4434e41f6ad276976d80 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 29 Jan 2004 15:35:42 +0000 Subject: [PATCH] moved the definitions of IOCTL_3_ARGS to setup.h --- lib/if2ip.c | 6 ------ lib/setup.h | 8 ++++++++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/lib/if2ip.c b/lib/if2ip.c index 84785a580..0dd403ac9 100644 --- a/lib/if2ip.c +++ b/lib/if2ip.c @@ -27,7 +27,6 @@ #include #include - #ifdef HAVE_UNISTD_H #include #endif @@ -68,7 +67,6 @@ #endif #ifdef VMS -#define IOCTL_3_ARGS #include #endif @@ -79,10 +77,6 @@ #include "memdebug.h" #endif -#ifdef DJGPP -#define IOCTL_3_ARGS -#endif - #define SYS_ERROR -1 char *Curl_if2ip(char *interface, char *buf, int buf_size) diff --git a/lib/setup.h b/lib/setup.h index 1d78dc6d2..20120d8a6 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -248,4 +248,12 @@ typedef struct in_addr Curl_ipconnect; #define SIZEOF_CURL_OFF_T sizeof(curl_off_t) #endif +#ifdef VMS +#define IOCTL_3_ARGS +#endif + +#ifdef mpeix +#define IOCTL_3_ARGS +#endif + #endif /* __CONFIG_H */