diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-04-01 15:48:39 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-04-01 15:48:39 +0200 |
commit | 8caf15e38c6c1a803c110028b0d8a10d6fece776 (patch) | |
tree | dcc3b99e2e716ce17172b94c2f7adc5ca3d522eb /docs | |
parent | dde2d0138dd3d6d603b476f7e5f50aff2270251e (diff) | |
download | wolfbones-8caf15e38c6c1a803c110028b0d8a10d6fece776.tar.gz wolfbones-8caf15e38c6c1a803c110028b0d8a10d6fece776.tar.bz2 |
removed extern in function prototypes; added gai_strerror_r and a test, cleanup in netdb.h and netdb.c
Diffstat (limited to 'docs')
-rw-r--r-- | docs/port/README | 6 |
1 files changed, 5 insertions, 1 deletions
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" |