NetWare CLIB target has stricmp() and strnicmp()
authorYang Tse <yangsita@gmail.com>
Mon, 15 Sep 2008 17:31:34 +0000 (17:31 +0000)
committerYang Tse <yangsita@gmail.com>
Mon, 15 Sep 2008 17:31:34 +0000 (17:31 +0000)
Makefile.netware

index 2e00b09..9f2a4f6 100644 (file)
@@ -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) >> $@