From d5de1ce6d18342bd405ea31ea2b6903fbf275c3c Mon Sep 17 00:00:00 2001
From: aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Mon, 24 Jul 2000 04:06:16 +0000
Subject: [PATCH] * dyn_load.c (GC_scratch_last_end_ptr): Don't declare a
 #define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35217 138bc75d-0d04-0410-961f-82ee72b054a4
---
 boehm-gc/ChangeLog  | 4 ++++
 boehm-gc/dyn_load.c | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index de895eb1dd1b..f9f4b9e88fa9 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -1,3 +1,7 @@
+2000-07-24  Alexandre Oliva  <aoliva@redhat.com>
+
+	* dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
+
 2000-06-20  Bryce McKinlay  <bryce@albatross.co.nz>
 
 	Imported version 5.1.
diff --git a/boehm-gc/dyn_load.c b/boehm-gc/dyn_load.c
index 8d00346c790e..ec909cae3863 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	*/
-- 
GitLab