[freetds] threadsafe

Patrick Welche prlw1 at newn.cam.ac.uk
Tue Aug 22 13:29:38 EDT 2006

It seems that --disable-threadsafe has no effect:

threadsafe.c:279:2: error: #error gethostbyname_r style unknown

i.e., threadsafe.c is compiled, and the _r functions tried.

It may be that defining NETDB_REENTRANT if --disable-threadsafe may be
sufficient to fix it - I haven't tried.

.. I was wondering also whether getaddrinfo / getnameinfo would be worth
trying too..



More information about the FreeTDS mailing list