This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: limits.h fix


On 4/2/07, Mike Stump <mrs@apple.com> wrote:
Currently, if a user has their own "limits.h", the:

#include_next <limits.h>

in syslimits.h can find it, this is wrong.  Instead, we want that file
to find the system limits.h.  The below patch fixes this.

Thanks to Geoff for pointing out the solution...

Can you make sure this does not break glibc's limit.h which actually does #include_next <limits.h> if GCC's limits.h has not been included.

Thanks,
Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]