aboutsummaryrefslogtreecommitdiff
path: root/libjava/exception.cc
diff options
context:
space:
mode:
authorBryce McKinlay <bryce@waitaki.otago.ac.nz>2001-05-21 08:37:04 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>2001-05-21 09:37:04 +0100
commit1f4eb17d51fe16f433f6cd7a9769701ec73d847a (patch)
treebd1dc93ef26d4c2030de92c336aa13eeadcf42ee /libjava/exception.cc
parent9110a741e35c54e46c00662ddc420575376c5947 (diff)
downloadgcc-1f4eb17d51fe16f433f6cd7a9769701ec73d847a.zip
gcc-1f4eb17d51fe16f433f6cd7a9769701ec73d847a.tar.gz
gcc-1f4eb17d51fe16f433f6cd7a9769701ec73d847a.tar.bz2
configure.in: Update boehm-gc include dir for new GC version.
* configure.in: Update boehm-gc include dir for new GC version. * configure: Rebuilt. * exception.cc: Only include <gc.h>. Remove TRUE/FALSE hacks and extern "C" wrapper. * boehm.cc: Update includes for new GC version. MAKE_PROC is now GC_MAKE_PROC. mark_proc is now GC_mark_proc. * posix-threads.cc: Only include <gc.h>. Don't need to wrap with extern "C". From-SVN: r42380
Diffstat (limited to 'libjava/exception.cc')
-rw-r--r--libjava/exception.cc13
1 files changed, 1 insertions, 12 deletions
diff --git a/libjava/exception.cc b/libjava/exception.cc
index d734906..77e3e91 100644
--- a/libjava/exception.cc
+++ b/libjava/exception.cc
@@ -20,18 +20,7 @@ details. */
#include "unwind.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
-
-extern "C"
-{
-#include <gc_priv.h>
-#include <gc_mark.h>
-#include <include/gc_gcj.h>
-};
+#include <gc.h>
struct alignment_test_struct