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
This commit is contained in:
parent
33cbe42179
commit
903db43579
10 changed files with 38 additions and 24 deletions
libjava/include
|
@ -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__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue