From 657ac7664ccb23e3d8c45ca4932a6226fef076de Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 24 Aug 1999 04:01:06 +0000 Subject: boehm.cc: Undefine TRUE and FALSE. * boehm.cc: Undefine TRUE and FALSE. * posix-threads.cc (_Jv_CondWait): Use ETIMEDOUT, not ETIME. From-SVN: r28810 --- libjava/boehm.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libjava/boehm.cc') diff --git a/libjava/boehm.cc b/libjava/boehm.cc index f73bf86..8d1e974 100644 --- a/libjava/boehm.cc +++ b/libjava/boehm.cc @@ -18,6 +18,11 @@ details. */ #include #include +// More nastiness: the GC wants to define TRUE and FALSE. We don't +// need the Java definitions (themselves a hack), so we undefine them. +#undef TRUE +#undef FALSE + // We need to include gc_priv.h. However, it tries to include // config.h if it hasn't already been included. So we force the // inclusion of the Boehm config.h. -- cgit v1.1