projects
/
cacao.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade Boehm GC to 7.2alpha4.
[cacao.git]
/
src
/
mm
/
boehm-gc
/
real_malloc.c
diff --git
a/src/mm/boehm-gc/real_malloc.c
b/src/mm/boehm-gc/real_malloc.c
index c5c4628519535310980b425460a9c534fd2271b0..da11f342bbd3834d52ce9f85c32468c968728b07 100644
(file)
--- a/
src/mm/boehm-gc/real_malloc.c
+++ b/
src/mm/boehm-gc/real_malloc.c
@@
-1,4
+1,4
@@
-/*
+/*
* Copyright 1988, 1989 Hans-J. Boehm, Alan J. Demers
* Copyright (c) 1991-1994 by Xerox Corporation. All rights reserved.
*
* Copyright 1988, 1989 Hans-J. Boehm, Alan J. Demers
* Copyright (c) 1991-1994 by Xerox Corporation. All rights reserved.
*
@@
-11,9
+11,10
@@
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*/
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*/
-/* Boehm, May 19, 1994 2:04 pm PDT */
-#include "config.h"
+# ifdef HAVE_CONFIG_H
+# include "private/config.h"
+# endif
# ifdef PCR
/*
# ifdef PCR
/*
@@
-28,5
+29,11
@@
void * real_malloc(size_t size)
{
return(malloc(size));
}
{
return(malloc(size));
}
-#endif /* PCR */
+# else
+
+extern int GC_quiet;
+ /* ANSI C doesn't allow translation units to be empty. */
+ /* So we guarantee this one is nonempty. */
+
+#endif /* PCR */