fix compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@108 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -32,6 +32,9 @@
|
|||||||
#define DEBUG 0
|
#define DEBUG 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#undef TRACE
|
||||||
|
#undef ASSERT
|
||||||
|
|
||||||
#if DEBUG > 0
|
#if DEBUG > 0
|
||||||
#define TRACE(a) debug_printf a
|
#define TRACE(a) debug_printf a
|
||||||
#define ASSERT(a) if (a) {} else TRACE(("ASSERT failed! file = %s, line = %d\n",__FILE__,__LINE__))
|
#define ASSERT(a) if (a) {} else TRACE(("ASSERT failed! file = %s, line = %d\n",__FILE__,__LINE__))
|
||||||
|
|||||||
Reference in New Issue
Block a user