aboutsummaryrefslogtreecommitdiff
path: root/libjava/boehm.cc
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>1999-08-24 04:01:06 +0000
committerTom Tromey <tromey@gcc.gnu.org>1999-08-24 04:01:06 +0000
commit657ac7664ccb23e3d8c45ca4932a6226fef076de (patch)
treed25d3c6e4e71e72f48f581516593e6a0e2a8e531 /libjava/boehm.cc
parent7b5efe21a0624c7340186c58df5ab3b722eafa91 (diff)
downloadgcc-657ac7664ccb23e3d8c45ca4932a6226fef076de.zip
gcc-657ac7664ccb23e3d8c45ca4932a6226fef076de.tar.gz
gcc-657ac7664ccb23e3d8c45ca4932a6226fef076de.tar.bz2
boehm.cc: Undefine TRUE and FALSE.
* boehm.cc: Undefine TRUE and FALSE. * posix-threads.cc (_Jv_CondWait): Use ETIMEDOUT, not ETIME. From-SVN: r28810
Diffstat (limited to 'libjava/boehm.cc')
-rw-r--r--libjava/boehm.cc5
1 files changed, 5 insertions, 0 deletions
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 <java-field.h>
#include <java-interp.h>
+// 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.