[PATCH] Check for existence of asprintf and vasprintf
Wed Feb 22 16:32:00 GMT 2017
On 22 Feb 2017 17:01, Ulf Hermann wrote:
> > these portability replacements are starting to get out of hand
> To what extent should elfutils be portable to non-GNU systems? My goal here is to port it to windows while minimizing the amount of external dependencies I have to add. The functions I have replaced so far are so trivial that I didn't consider it worthwhile to import things from gnulib in order to provide them.
imo, elfutils shouldn't be growing these fallback implementations itself.
if you want to do this stuff, use gnulib instead.
then there is no ifdef hell in the source files, and you don't have to
worry about testing whether the ifdef's are correct because gnulib did
it all for you.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: Digital signature
More information about the Elfutils-devel