gallium: _debug_vprintf() should be silent if DEBUG is not defined
This commit is contained in:
@@ -101,8 +101,10 @@ void _debug_vprintf(const char *format, va_list ap)
|
|||||||
#elif defined(PIPE_SUBSYSTEM_WINDOWS_CE) || defined(PIPE_SUBSYSTEM_WINDOWS_MINIPORT)
|
#elif defined(PIPE_SUBSYSTEM_WINDOWS_CE) || defined(PIPE_SUBSYSTEM_WINDOWS_MINIPORT)
|
||||||
/* TODO */
|
/* TODO */
|
||||||
#else /* !PIPE_SUBSYSTEM_WINDOWS */
|
#else /* !PIPE_SUBSYSTEM_WINDOWS */
|
||||||
|
#ifdef DEBUG
|
||||||
vfprintf(stderr, format, ap);
|
vfprintf(stderr, format, ap);
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user