aboutsummaryrefslogtreecommitdiff
path: root/ares/Makefile.netware
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-15 17:31:34 +0000
committerYang Tse <yangsita@gmail.com>2008-09-15 17:31:34 +0000
commit6a04c0878b445ce631958292849352de5cb7e15b (patch)
tree6f03b10e47d329c1d7abbb0875bedde7d6f90f58 /ares/Makefile.netware
parentdb80e18308e40d3ef7f0f711be2de1ae23a34242 (diff)
NetWare CLIB target has stricmp() and strnicmp()
Diffstat (limited to 'ares/Makefile.netware')
-rw-r--r--ares/Makefile.netware4
1 files changed, 2 insertions, 2 deletions
diff --git a/ares/Makefile.netware b/ares/Makefile.netware
index 2e00b0956..9f2a4f63a 100644
--- a/ares/Makefile.netware
+++ b/ares/Makefile.netware
@@ -282,6 +282,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 HAVE_STRICMP 1$(DL) >> $@
+ @echo $(DL)#define HAVE_STRNICMP 1$(DL) >> $@
@echo $(DL)#define NETDB_USE_INTERNET 1$(DL) >> $@
@echo $(DL)#define RECV_TYPE_ARG1 int$(DL) >> $@
@echo $(DL)#define RECV_TYPE_ARG2 char *$(DL) >> $@
@@ -302,8 +304,6 @@ ifeq ($(LIBARCH),CLIB)
@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 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) >> $@