summaryrefslogtreecommitdiff
path: root/libjava/java/lang/natObject.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/lang/natObject.cc')
-rw-r--r--libjava/java/lang/natObject.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/java/lang/natObject.cc b/libjava/java/lang/natObject.cc
index cb03db97cc0..7dff626cd85 100644
--- a/libjava/java/lang/natObject.cc
+++ b/libjava/java/lang/natObject.cc
@@ -286,6 +286,9 @@ _Jv_ObjectCheckMonitor (jobject obj)
// operations is already ridiculous, and would become worse if we
// went through the proper intermediaries.
#else
+# ifdef LIBGCJ_GC_DEBUG
+# define GC_DEBUG
+# endif
# include "gc.h"
#endif