aboutsummaryrefslogtreecommitdiff
path: root/ares/Makefile.netware
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-07-03 16:00:36 +0000
committerGunter Knauf <gk@gknw.de>2007-07-03 16:00:36 +0000
commit7509ef6b4ea41680526ab71c9d71aec09209538e (patch)
tree0ad769d3c701a3fe45374f6ba89dfef7fd5bf9ac /ares/Makefile.netware
parent70f8068d4d83121c816dea4fd8d0ec4fcf0c980f (diff)
few minor changes to make ares compile for NetWare CLIB architecture.
Diffstat (limited to 'ares/Makefile.netware')
-rw-r--r--ares/Makefile.netware7
1 files changed, 4 insertions, 3 deletions
diff --git a/ares/Makefile.netware b/ares/Makefile.netware
index d5bfe7c06..c8e91c6d4 100644
--- a/ares/Makefile.netware
+++ b/ares/Makefile.netware
@@ -281,8 +281,8 @@ config.h: Makefile.netware
@echo $(DL)#define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/"$(DL) >> $@
ifeq ($(LIBARCH),CLIB)
@echo $(DL)#define OS "i586-pc-clib-NetWare"$(DL) >> $@
+ @echo $(DL)#define MAXHOSTNAMELEN 256$(DL) >> $@
@echo $(DL)#define NETDB_USE_INTERNET 1$(DL) >> $@
- @echo $(DL)#define HAVE_STRICMP 1$(DL) >> $@
@echo $(DL)#define RECV_TYPE_ARG1 int$(DL) >> $@
@echo $(DL)#define RECV_TYPE_ARG2 char *$(DL) >> $@
@echo $(DL)#define RECV_TYPE_ARG3 int$(DL) >> $@
@@ -294,9 +294,10 @@ ifeq ($(LIBARCH),CLIB)
@echo $(DL)#define SEND_TYPE_ARG3 int$(DL) >> $@
@echo $(DL)#define SEND_TYPE_ARG4 int$(DL) >> $@
@echo $(DL)#define SEND_TYPE_RETV int$(DL) >> $@
- @echo $(DL)#define socklen_t int$(DL) >> $@
@echo $(DL)#define DL_LDAP_FILE "ldapsdk.nlm"$(DL) >> $@
- @echo $(DL)#define MAXHOSTNAMELEN 256$(DL) >> $@
+ @echo $(DL)#define socklen_t int$(DL) >> $@
+ @echo $(DL)#define strncasecmp strnicmp$(DL) >> $@
+ @echo $(DL)#define strcasecmp stricmp$(DL) >> $@
else
@echo $(DL)#define OS "i586-pc-libc-NetWare"$(DL) >> $@
@echo $(DL)#define HAVE_DLFCN_H 1$(DL) >> $@