Messages in this thread |  | | Subject | Re: POSIX test suite - including header files | From | (Eric W. Biederman) | Date | 23 Oct 1996 18:04:19 -0500 |
| |
Bradley> I guess there is one ugly solution which is still slow and inefficient: Bradley> ultimate granularity of the ifndefs.
This is not really the place to discuss this (except the kernel headers and libc are wedded). If it is truly necessary to redefine errno numbers after multiple inclusions of a header file the correct solution is to _not_ include them in #if/def/ndefs . This is excplicitly blessed by the C standard (i.e. two macro definitions that are exactly the same will not cause an error).
Just in case anyone feels like fixing it....
Eric
|  |