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. -mike
signature.asc
Description: Digital signature