This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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: [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


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