diff options
author | Dave Korn <dave.korn.cygwin@gmail.com> | 2009-04-28 04:02:30 +0000 |
---|---|---|
committer | Dave Korn <davek@gcc.gnu.org> | 2009-04-28 04:02:30 +0000 |
commit | 903db43579c8059fb643086c5492e7c58f702bfe (patch) | |
tree | 8d928aaeb69a97d8e09a630b133acffaec592668 /libjava/include | |
parent | 33cbe42179c927948f3e0a931cc2e60d603f7319 (diff) | |
download | gcc-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')
-rw-r--r-- | libjava/include/config.h.in | 6 | ||||
-rw-r--r-- | libjava/include/java-assert.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/libjava/include/config.h.in b/libjava/include/config.h.in index 3fdde39..b81e0d3 100644 --- a/libjava/include/config.h.in +++ b/libjava/include/config.h.in @@ -3,9 +3,6 @@ /* Name of default AWT toolkit */ #undef AWT_TOOLKIT -/* Define this if you want runtime debugging enabled. */ -#undef DEBUG - /* Define if system properties shouldn't be read from getenv("GCJ_PROPERTIES"). */ #undef DISABLE_GETENV_PROPERTIES @@ -457,5 +454,8 @@ /* Required define if using POSIX threads */ #undef _REENTRANT +/* Define this if you want runtime debugging enabled. */ +#undef __GCJ_DEBUG + /* Define to `int' if <sys/types.h> does not define. */ #undef ssize_t 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__ */ |