diff options
author | Christopher Faylor <me@cgf.cx> | 2000-08-24 17:23:35 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-08-24 17:23:35 +0000 |
commit | 123469a0e9a5e669d868b00e938858bb97e8bff8 (patch) | |
tree | c182f4e516d5fd948ed6a5a84e155239c78298a9 /winsup/cygwin/include/sys | |
parent | d1be315740820824c3db85410d02177a2b231893 (diff) | |
download | newlib-123469a0e9a5e669d868b00e938858bb97e8bff8.zip newlib-123469a0e9a5e669d868b00e938858bb97e8bff8.tar.gz newlib-123469a0e9a5e669d868b00e938858bb97e8bff8.tar.bz2 |
* include/sys/cygwin.h (strace_printf_wrap): Force printing when
_STRACE_SYSTEM.
(strace_printf_wrap1): Ditto.
Diffstat (limited to 'winsup/cygwin/include/sys')
-rw-r--r-- | winsup/cygwin/include/sys/strace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/include/sys/strace.h b/winsup/cygwin/include/sys/strace.h index 8b621df..82cc75d 100644 --- a/winsup/cygwin/include/sys/strace.h +++ b/winsup/cygwin/include/sys/strace.h @@ -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; \ })) |