Consistently use KDEBUG. It is always defined and therefore must be
checked with "#if". git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28247 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -14,12 +14,17 @@
|
||||
#include <module.h>
|
||||
|
||||
|
||||
#if DEBUG
|
||||
/*
|
||||
* The kernel debug level.
|
||||
* Level 1 is usual asserts, > 1 should be used for very expensive runtime checks
|
||||
/* KDEBUG
|
||||
The kernel debug level.
|
||||
Level 1 is usual asserts, > 1 should be used for very expensive runtime
|
||||
checks
|
||||
*/
|
||||
# define KDEBUG 1
|
||||
#if !defined(KDEBUG)
|
||||
# if DEBUG
|
||||
# define KDEBUG 1
|
||||
# else
|
||||
# define KDEBUG 0
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define ASSERT_ALWAYS(x) \
|
||||
|
||||
Reference in New Issue
Block a user