Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane writes:
>> Er, what will you ifdef exactly,
> + #ifdef __cplusplus
> #ifdef HAVE_SYS_NERR
> extern int sys_nerr;
> #endif
> + #endif
>> and what are the odds that it will fail on some other platform?
> I don't see how it would fail. At least it won't add more possible
> failure cases.
If that can't fail, why do we need to provide a declaration of sys_nerr
at all?
regards, tom lane