[ccan] [PATCH 3/9] configurator: Inline err.h functions from musl libc

Rusty Russell rusty at rustcorp.com.au
Tue Sep 27 16:11:12 AEST 2016


David Gibson <david at gibson.dropbear.id.au> writes:
> On Sun, Sep 18, 2016 at 06:52:00PM -0600, Kevin Locke wrote:
>> Since we can't use HAVE_ERR_H in configurator, provide a definition for
>> the err.h functions used.  The version provided is the one from musl
>> libc, since it is concise and shares the MIT License with configurator.
>> 
>> Signed-off-by: Kevin Locke <kevin at kevinlocke.name>
>
> Right, so this is a general problem of how do we make the configurator
> itself sufficiently portable, since it hasn't yet worked out the
> portbility macros.
>
> Personally, I think duplicating these here is an acceptable
> workaround.  Rusty, any opinion?

Sorry for the delay, I was away for a week, then laptop death...

Yes, this is the right approach.  configurator has to stand alone.

Thanks!
Rusty.


More information about the ccan mailing list