summaryrefslogtreecommitdiff
path: root/Makefile.netware
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-07-03 16:00:36 (GMT)
committerGunter Knauf <gk@gknw.de>2007-07-03 16:00:36 (GMT)
commit316c126447c50cc4df8dc0cb1276c68d03f7da38 (patch)
tree33c6f9002a6bf7a70040091db78ccdcc25666350 /Makefile.netware
parent95a1092e59744825609c03600b592b97f09e0043 (diff)
downloadc-ares-316c126447c50cc4df8dc0cb1276c68d03f7da38.zip
c-ares-316c126447c50cc4df8dc0cb1276c68d03f7da38.tar.gz
c-ares-316c126447c50cc4df8dc0cb1276c68d03f7da38.tar.bz2
few minor changes to make ares compile for NetWare CLIB architecture.
Diffstat (limited to 'Makefile.netware')
-rw-r--r--Makefile.netware7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.netware b/Makefile.netware
index d5bfe7c..c8e91c6 100644
--- a/Makefile.netware
+++ b/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) >> $@