From 8e255534a1513584d2411b10b47ea1249d8aaedc Mon Sep 17 00:00:00 2001 From: Patrick Monnerat Date: Thu, 11 Dec 2008 19:20:03 +0000 Subject: _ Use getaddrinfo/getnameinfo ascii wrappers on OS400. _ Adjust OS400 make script for non-CVS distributions. _ Upgrade ILE/RPG binding. _ Define CURL_HIDDEN_SYMBOLS on OS400, since only CURL_EXTERN-marked symbols are exported. --- lib/config-os400.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/config-os400.h b/lib/config-os400.h index 0814773b5..3a118796a 100644 --- a/lib/config-os400.h +++ b/lib/config-os400.h @@ -82,8 +82,8 @@ #define HAVE_FCNTL_H /* Define if getaddrinfo exists and works */ -/* OS400 has no ASCII version of this procedure. */ -#undef HAVE_GETADDRINFO +/* OS400 has no ASCII version of this procedure: wrapped in setup-os400.h. */ +#define HAVE_GETADDRINFO /* Define if you have the `geteuid' function. */ #define HAVE_GETEUID @@ -284,7 +284,7 @@ #undef HAVE_STRLCPY /* Define if you have the header file. */ -#define HAVE_STROPTS_H +#undef HAVE_STROPTS_H /* Define if you have the `strstr' function. */ #define HAVE_STRSTR @@ -404,15 +404,21 @@ /* Define if you have a working ioctl SIOCGIFADDR function. */ #define HAVE_IOCTL_SIOCGIFADDR -/* to disable LDAP */ +/* To disable LDAP */ #undef CURL_DISABLE_LDAP +/* To avoid external use of library hidden symbols */ +#define CURL_HIDDEN_SYMBOLS + +/* External symbols need no special keyword. */ +#define CURL_EXTERN_SYMBOL + /* Define if you have the ldap_url_parse procedure. */ /* #define HAVE_LDAP_URL_PARSE */ /* Disabled because of an IBM bug. */ /* Define if you have the getnameinfo function. */ -/* OS400 has no ASCII version of this procedure. */ -#undef HAVE_GETNAMEINFO +/* OS400 has no ASCII version of this procedure: wrapped in setup-os400.h. */ +#define HAVE_GETNAMEINFO /* Define to the type qualifier of arg 1 for getnameinfo. */ #define GETNAMEINFO_QUAL_ARG1 const -- cgit v1.2.3