[ccan] config.h

Rusty Russell rusty at rustcorp.com.au
Sat May 30 20:11:47 AEST 2015


Delio Brignoli <brignoli.delio at gmail.com> writes:
> All,
>
> Is there a reason for the CCAN configuration header being named config.h instead of (for instance) ccan_config.h? Would it be acceptable to add a namespace prefix like ‘ccan_’ to it to avoid clashes?

Hi Delio,

        It's a good question.  To me it seemed a little dangerous to to
have multiple config.h's in one project, though.  Autoconf can quite
easily generate a ccan-usable config.h, for example.

Did you have a specific example?

Thanks,
Rusty


More information about the ccan mailing list