Hi !

I'm confused. Very.

I need to disable the configure  machinery to
define the HAVE_GETNAMEINFO and HAVE_GETADDRINFO
for Darwin builds. Reason: those are broken on
Darwin, and upon that, also MT-unsafe. OTOH,
the classic gethostbyname/gethostbyaddr are
working and are protected by critical section
so I think it is better to use those.

BUT: I do not see a clear way how to influence
configure NOT to use/define those above !

I COULD just

#ifdef __APPLE
# undef HAVE_GETADDRINFO
# undef HAVE_GETNAMEINFO
#endif

but this is not elegant.

Any ideas?

Zoran

Reply via email to