summaryrefslogtreecommitdiff
path: root/boehm-gc/dyn_load.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-07-24 04:06:16 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2000-07-24 04:06:16 +0000
commit14400a5922bd20f7e05a6ec18e0794e394590a62 (patch)
treefe4729bc44668389ded646ff6127d51c447b25ca /boehm-gc/dyn_load.c
parent9d093ac0f47f92bd4eb54e6cdd5a99d6af19d374 (diff)
downloadgcc-14400a5922bd20f7e05a6ec18e0794e394590a62.tar.gz
* dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
From-SVN: r35217
Diffstat (limited to 'boehm-gc/dyn_load.c')
-rw-r--r--boehm-gc/dyn_load.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/boehm-gc/dyn_load.c b/boehm-gc/dyn_load.c
index 8d00346c790..ec909cae386 100644
--- a/boehm-gc/dyn_load.c
+++ b/boehm-gc/dyn_load.c
@@ -393,7 +393,9 @@ extern void * GC_roots_present();
/* The type is a lie, since the real type doesn't make sense here, */
/* and we only test for NULL. */
+#ifndef GC_scratch_last_end_ptr
extern ptr_t GC_scratch_last_end_ptr; /* End of GC_scratch_alloc arena */
+#endif
/* We use /proc to track down all parts of the address space that are */
/* mapped by the process, and throw out regions we know we shouldn't */