This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [patch] include/posix.h
- From: Tom Tromey <tromey at redhat dot com>
- To: Andreas Tobler <toa at pop dot agri dot ch>
- Cc: Java Patches <java-patches at gcc dot gnu dot org>
- Date: 22 May 2006 15:21:35 -0600
- Subject: Re: [patch] include/posix.h
- References: <446E43A3.3080507@pop.agri.ch>
- Reply-to: tromey at redhat dot com
>>>>> "Andreas" == Andreas Tobler <toa@pop.agri.ch> writes:
Andreas> We conflict with the gcj/javaprims.h and the Boolean.h when we compile
Andreas> java/net/natVMNetworkInterfacePosix.cc
Thanks.
What if we handled this more directly and generated a Boolean.h that
had the #undefs at the top? I think that would work a bit better in
more cases. Otherwise we're dependent on the order of inclusion of
our posix.h, system headers, and Boolean.h.
This can be implemented with a small Makefile change. Could you try
it? Or is there a problem with this?
Tom