aboutsummaryrefslogtreecommitdiff
path: root/libjava/include/java-assert.h
diff options
context:
space:
mode:
authorDave Korn <dave.korn.cygwin@gmail.com>2009-04-28 04:02:30 +0000
committerDave Korn <davek@gcc.gnu.org>2009-04-28 04:02:30 +0000
commit903db43579c8059fb643086c5492e7c58f702bfe (patch)
tree8d928aaeb69a97d8e09a630b133acffaec592668 /libjava/include/java-assert.h
parent33cbe42179c927948f3e0a931cc2e60d603f7319 (diff)
downloadgcc-903db43579c8059fb643086c5492e7c58f702bfe.zip
gcc-903db43579c8059fb643086c5492e7c58f702bfe.tar.gz
gcc-903db43579c8059fb643086c5492e7c58f702bfe.tar.bz2
interpret.cc (DEBUG): Rename this ...
* interpret.cc (DEBUG): Rename this ... (__GCJ_DEBUG): ... to this throughout. * configure.ac: Likewise. * interpret-run.cc: Likewise. * prims.cc: Likewise. * gnu/classpath/natConfiguration.cc: Likewise. * include/java-assert.h: Likewise. * java/io/natVMObjectInputStream.cc: Likewise. * configure: Regenerate. * include/config.h.in: Regenerate. From-SVN: r146869
Diffstat (limited to 'libjava/include/java-assert.h')
-rw-r--r--libjava/include/java-assert.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libjava/include/java-assert.h b/libjava/include/java-assert.h
index 6f178bd..5796241 100644
--- a/libjava/include/java-assert.h
+++ b/libjava/include/java-assert.h
@@ -16,7 +16,7 @@ details. */
void _Jv_Abort (const char *, const char *, int, const char *)
__attribute__ ((__noreturn__));
-#ifdef DEBUG
+#ifdef __GCJ_DEBUG
#define _Jv_AssertDoCall(Message) _Jv_Abort (__FUNCTION__, __FILE__, __LINE__, Message)
#define JvAssertMessage(Expr, Message) \
@@ -26,13 +26,13 @@ void _Jv_Abort (const char *, const char *, int, const char *)
#define JvFail(Message) _Jv_AssertDoCall (Message)
-#else /* DEBUG */
+#else /* __GCJ_DEBUG */
#define _Jv_AssertDoCall(Message)
#define JvAssertMessage(Expr, Message)
#define JvAssert(Expr)
#define JvFail(Message) _Jv_Abort (0, 0, 0, Message)
-#endif /* not DEBUG */
+#endif /* not __GCJ_DEBUG */
#endif /* __JAVA_ASSERT_H__ */