* include/sys/cygwin.h (strace_printf_wrap): Force printing when
_STRACE_SYSTEM. (strace_printf_wrap1): Ditto.
This commit is contained in:
parent
d1be315740
commit
123469a0e9
@ -1,3 +1,9 @@
|
||||
Thu Aug 24 13:21:09 2000 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* include/sys/cygwin.h (strace_printf_wrap): Force printing when
|
||||
_STRACE_SYSTEM.
|
||||
(strace_printf_wrap1): Ditto.
|
||||
|
||||
Thu Aug 24 12:30:17 2000 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* debug.h: Allow some debug defines for use in header files.
|
||||
|
@ -95,13 +95,13 @@ extern "C" void small_printf (const char *, ...);
|
||||
#else
|
||||
#define strace_printf_wrap(what, fmt, args...) \
|
||||
((void) ({\
|
||||
if (strace.active) \
|
||||
if ((_STRACE_ ## what & _STRACE_SYSTEM) || strace.active) \
|
||||
strace.prntf(_STRACE_ ## what, __PRETTY_FUNCTION__, fmt, ## args); \
|
||||
0; \
|
||||
}))
|
||||
#define strace_printf_wrap1(what, fmt, args...) \
|
||||
((void) ({\
|
||||
if (strace.active) \
|
||||
if ((_STRACE_ ## what & _STRACE_SYSTEM) || strace.active) \
|
||||
strace.prntf((_STRACE_ ## what) | _STRACE_NOTALL, __PRETTY_FUNCTION__, fmt, ## args); \
|
||||
0; \
|
||||
}))
|
||||
|
Loading…
Reference in New Issue
Block a user