summaryrefslogtreecommitdiff
path: root/lib/config-amigaos.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-05-02 02:37:32 +0000
committerYang Tse <yangsita@gmail.com>2009-05-02 02:37:32 +0000
commit9137e717b04644592b9b527839470337fdd9f44d (patch)
treee7b9af9f3d06915f4900238ff4f5a077fb05810b /lib/config-amigaos.h
parent80186aa7f44ed5155665d96336b508403b3d4a03 (diff)
downloadcurl-9137e717b04644592b9b527839470337fdd9f44d.tar.gz
Use build-time configured curl_socklen_t instead of socklen_t
Diffstat (limited to 'lib/config-amigaos.h')
-rw-r--r--lib/config-amigaos.h7
1 files changed, 2 insertions, 5 deletions
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, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, 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