[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnulib *.h files require config,h
From: |
Paul Eggert |
Subject: |
Re: gnulib *.h files require config,h |
Date: |
Tue, 03 Jul 2007 11:42:37 -0700 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> The proposal is therefore to make gnulib's replacement headers independent
> of config.h, as far as possible:
> - Use some @restrict@ instead of using restrict that is defined by config.h,
> - For all types defined by AC_TYPE_MODE_T, AC_TYPE_OFF_T, AC_TYPE_PID_T,
> etc.
> copy the definition of that type into the header file that needs it,
> rather than assuming that config.h defined it.
Thanks, that proposal seems like an improvement to me.
This area is a hassle, and will still be a hassle even if the proposal
is implemented, but I can't think of a better idea (at least, not
without a lot more work...).