From 8caf15e38c6c1a803c110028b0d8a10d6fece776 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 1 Apr 2009 15:48:39 +0200 Subject: removed extern in function prototypes; added gai_strerror_r and a test, cleanup in netdb.h and netdb.c --- docs/port/README | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/port/README b/docs/port/README index aa96234..324cfe5 100644 --- a/docs/port/README +++ b/docs/port/README @@ -49,6 +49,10 @@ Currently there are the following definitions which must be set: stub - HAVE_ITOA: handy function, we define it as on Windows (as the char* return value is more handy than void) +- HAVE_GETADDRINFO: if we have the GAI library functions getaddrinfo, + freeaddrinfo and the counterpart getnameinfo, as well as the error + message function gai_strerror +- HAVE_GAI_STRERROR_R: if we have a thread-safe version of gai_strerror Defines in 'port/sys_internal.h' -------------------------------- @@ -73,7 +77,7 @@ How to use the porting layer in your code ----------------------------------------- Don't include system header files if there is a similar file in the -'ports' subdir: +'port' subdir: #include "port/limits.h" #include "port/stdbool.h" -- cgit v1.2.3-54-g00ecf