On 4/8/15 11:25 AM, Evan Gates wrote:
> I tried compiling bash with musl-gcc and failed due to the __P macros
> in histfile.c
>
> While digging around it appears that __P is defined in stdc.h, but
> histfile.c indirectly includes rlstdc.h istead. rlstdc.h defines an
> identical macro with the name PARAMS instead of __P
Yes, you're right. Readline source files need to use PARAMS; bash source
files use __P (history -- don't ask).
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/