]> granicus.if.org Git - curl/commitdiff
added ifdef for NetWare to ares.h.
authorGunter Knauf <gk@gknw.de>
Sun, 11 Jul 2004 08:30:23 +0000 (08:30 +0000)
committerGunter Knauf <gk@gknw.de>
Sun, 11 Jul 2004 08:30:23 +0000 (08:30 +0000)
ares/Makefile.netware
ares/ares.h

index e530f0c050ce728c02e51d50fd29bc14c961cb0e..f9a61d55ce29e35aaa93ee8a503ce907db757578 100644 (file)
@@ -67,7 +67,6 @@ MPKXDC        = mkxdc
 
 # Global flags for all compilers
 CFLAGS = $(OPT) -D$(DB) -DNETWARE -DHAVE_CONFIG_H -nostdinc
-CFLAGS += -D_AIX
 
 ifeq ($(CC),mwccnlm)
 LD     = mwldnlm
index 85bfe23151c4f718a1a730b4cb5438e22e357e16..af1a52a9eec4d6b5472fd1041c28791ff8779013 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <sys/types.h>
 
-#ifdef _AIX
+#if defined(_AIX) || defined(NETWARE)
 /* 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! */