aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2006-08-11 18:11:42 +0000
committerDan Fandrich <dan@coneharvesters.com>2006-08-11 18:11:42 +0000
commiteb26a581f95d208d3abcb1413bcd856a6e85a0e9 (patch)
tree894b30ccea6a21fc290d0d4dbd4e123b0de292c7
parentb04cbebf868f3e651e2f9fd85ff3a56b01004ac5 (diff)
Use __minix to detect Minix, which works on both ACK and GCC.
-rw-r--r--include/curl/multi.h2
-rw-r--r--lib/if2ip.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/curl/multi.h b/include/curl/multi.h
index 925d5c007..6811ce798 100644
--- a/include/curl/multi.h
+++ b/include/curl/multi.h
@@ -55,7 +55,7 @@
/* HP-UX systems version 9, 10 and 11 lack sys/select.h and so does oldish
libc5-based Linux systems. Only include it on system that are known to
require it! */
-#if defined(_AIX) || defined(NETWARE) || defined(__NetBSD__) || defined(_MINIX)
+#if defined(_AIX) || defined(NETWARE) || defined(__NetBSD__) || defined(__minix)
#include <sys/select.h>
#endif
diff --git a/lib/if2ip.c b/lib/if2ip.c
index f2631a7ba..f3d31bc1d 100644
--- a/lib/if2ip.c
+++ b/lib/if2ip.c
@@ -39,7 +39,7 @@
*/
#if !defined(WIN32) && !defined(__BEOS__) && !defined(__CYGWIN__) && \
!defined(__riscos__) && !defined(__INTERIX) && !defined(NETWARE) && \
- !defined(_AMIGASF) && !defined(_MINIX)
+ !defined(_AMIGASF) && !defined(__minix)
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>