Patch by Adrian Panasiuk: fix broken TRACE macro definitions (ticket #3133). Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28656 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
38875083b2
commit
e02ed691ca
@ -67,10 +67,10 @@
|
||||
__FUNCTION__, sFunctionDepth)
|
||||
# define KID_CALLED(x...) FunctionTracer _ft(this, "KeyboardInputDevice", \
|
||||
__FUNCTION__, sFunctionDepth)
|
||||
# define TRACE(x...) { BString _to; \
|
||||
# define TRACE(x...) do { BString _to; \
|
||||
_to.Append(' ', (sFunctionDepth + 1) * 2); \
|
||||
debug_printf("%p -> %s", this, _to.String()); \
|
||||
debug_printf(x); }
|
||||
debug_printf(x); } while (0)
|
||||
# define LOG_EVENT(text...) do {} while (0)
|
||||
# define LOG_ERR(text...) TRACE(text)
|
||||
#else
|
||||
|
@ -76,10 +76,10 @@
|
||||
__FUNCTION__, sFunctionDepth)
|
||||
# define MID_CALLED(x...) FunctionTracer _ft(this, "MouseInputDevice", \
|
||||
__FUNCTION__, sFunctionDepth)
|
||||
# define TRACE(x...) { BString _to; \
|
||||
# define TRACE(x...) do { BString _to; \
|
||||
_to.Append(' ', (sFunctionDepth + 1) * 2); \
|
||||
debug_printf("%p -> %s", this, _to.String()); \
|
||||
debug_printf(x); }
|
||||
debug_printf(x); } while (0)
|
||||
# define LOG_EVENT(text...) do {} while (0)
|
||||
# define LOG_ERR(text...) TRACE(text)
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user