diff options
author | Yang Tse <yangsita@gmail.com> | 2009-04-30 00:11:20 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-04-30 00:11:20 +0000 |
commit | 504ecd5f7a47185c503d263dae1ff8d75b1a892d (patch) | |
tree | 5ff9f985d2b2e1a042f3d5da80478cf6eed1c386 | |
parent | 7d1bb21c191fea7c9e02d78e820a8df1b9ac65d3 (diff) |
NetWare LibC's getpeername() third argument data type is size_t
-rw-r--r-- | ares/Makefile.netware | 2 | ||||
-rw-r--r-- | lib/Makefile.netware | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ares/Makefile.netware b/ares/Makefile.netware index 110651526..89fdf4c75 100644 --- a/ares/Makefile.netware +++ b/ares/Makefile.netware @@ -425,7 +425,7 @@ ifeq ($(LIBARCH),CLIB) @echo $(DL)#define CARES_TYPEOF_ARES_SOCKLEN_T int$(DL) >> $@ @echo $(DL)#define CARES_SIZEOF_ARES_SOCKLEN_T 4$(DL) >> $@ else - @echo $(DL)#define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t$(DL) >> $@ + @echo $(DL)#define CARES_TYPEOF_ARES_SOCKLEN_T size_t$(DL) >> $@ @echo $(DL)#define CARES_SIZEOF_ARES_SOCKLEN_T 4$(DL) >> $@ endif @echo $(DL)#define CARES_SIZEOF_LONG 4$(DL) >> $@ diff --git a/lib/Makefile.netware b/lib/Makefile.netware index a490b085c..fe896d7a6 100644 --- a/lib/Makefile.netware +++ b/lib/Makefile.netware @@ -619,7 +619,7 @@ $(CURL_INC)/curl/curlbuild.h: Makefile.netware FORCE @echo $(DL)#define __CURL_CURLBUILD_H$(DL) >> $@ ifeq ($(LIBARCH),LIBC) @echo $(DL)#define CURL_SIZEOF_LONG 4$(DL) >> $@ - @echo $(DL)#define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t$(DL) >> $@ + @echo $(DL)#define CURL_TYPEOF_CURL_SOCKLEN_T size_t$(DL) >> $@ @echo $(DL)#define CURL_SIZEOF_CURL_SOCKLEN_T 4$(DL) >> $@ @echo $(DL)#define CURL_TYPEOF_CURL_OFF_T long long$(DL) >> $@ @echo $(DL)#define CURL_FORMAT_CURL_OFF_T "lld"$(DL) >> $@ |