From 9137e717b04644592b9b527839470337fdd9f44d Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 2 May 2009 02:37:32 +0000 Subject: Use build-time configured curl_socklen_t instead of socklen_t --- lib/config-amigaos.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'lib/config-amigaos.h') diff --git a/lib/config-amigaos.h b/lib/config-amigaos.h index 6a871d047..3da27426d 100644 --- a/lib/config-amigaos.h +++ b/lib/config-amigaos.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2008, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2009, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -108,9 +108,6 @@ #define TIME_WITH_SYS_TIME 1 #define in_addr_t int -#ifndef socklen_t -# define socklen_t int -#endif #ifndef O_RDONLY # define O_RDONLY 0x0000 @@ -119,7 +116,7 @@ #define HAVE_GETNAMEINFO 1 #define GETNAMEINFO_QUAL_ARG1 const #define GETNAMEINFO_TYPE_ARG1 struct sockaddr * -#define GETNAMEINFO_TYPE_ARG2 socklen_t +#define GETNAMEINFO_TYPE_ARG2 int #define GETNAMEINFO_TYPE_ARG46 size_t #define GETNAMEINFO_TYPE_ARG7 int -- cgit v1.2.3