mailing list of musl libc
 help / color / mirror / code / Atom feed
* [PATCH] Define __RES to 19960801
@ 2016-10-29 18:58 Dmitrij D. Czarkoff
  2016-10-29 18:58 ` Dmitrij D. Czarkoff
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitrij D. Czarkoff @ 2016-10-29 18:58 UTC (permalink / raw)
  To: musl

Hi!

The BIND resolver API provided by musl is versioned with __RES macro, which is
defined to a date the API revision was released.  Musl does not provide
res_ninit() and other functions that take resolver state as an argument.  In
order to allow applications detect the lack of these functions with preprocessor
I suggest to set __RES to the version of the last BIND release which did not
include them - BIND 8.1.2.  As far as I can tell, all newer BIND features that
musl supports are presented as macros and thus can be tested by preprocessor as
well.

--
Dmitrij D. Czarkoff

P.S.:  I am not on the list, so please CC me if my input is desired.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-10-29 18:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-29 18:58 [PATCH] Define __RES to 19960801 Dmitrij D. Czarkoff
2016-10-29 18:58 ` Dmitrij D. Czarkoff

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).