summaryrefslogtreecommitdiff
path: root/modules/netdb-c++-tests
Commit message (Collapse)AuthorAgeFilesLines
* netdb: Make it work in C++ mode.Bruno Haible2011-04-301-0/+19
* lib/netdb.in.h (struct addrinfo): In C++, define as a C struct. (getaddrinfo, freeaddrinfo, getnameinfo): Use macros from c++defs module. * m4/netdb_h.m4 (gl_NETDB_MODULE_INDICATOR): Invoke gl_MODULE_INDICATOR_FOR_TESTS. * modules/netdb-tests (Depends-on): Add netdb-c++-tests. * modules/netdb-c++-tests: New file. * tests/test-netdb-c++.cc: New file.