This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [patch] include/posix.h
>>>>> "Andreas" == Andreas Tobler <toa@pop.agri.ch> writes:
Andreas> Well, this does not help if Boolean.h is included before such magic
Andreas> system headers which define TRUE and FALSE again.
Yeah. However, any ordering will have an associated potential
failure mode, afaics.
Andreas> In our case sys/rw_lock.h, the file where this (re)-definition
Andreas> happens, is included after Boolean.h, implicitely. So I tend to agree
Andreas> with Dave that the workaround he proposes is probably the best one in
Andreas> regard of effort and gain.
That patch also looked fine to me. Feel free to check it in.
Tom