From 25d9912b385605e93b7215eec6a9ec790eff6f6e Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 15 Sep 2008 17:31:34 +0000 Subject: [PATCH] NetWare CLIB target has stricmp() and strnicmp() --- Makefile.netware | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.netware b/Makefile.netware index 2e00b09..9f2a4f6 100644 --- a/Makefile.netware +++ b/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) >> $@ -- 2.7.4