MFC Revision 1.78:

> Output error message to STDERR_FILENO.
This commit is contained in:
davidxu 2007-09-04 05:51:00 +00:00
parent cba8561b2d
commit de3edd54af

View File

@ -72,7 +72,7 @@ typedef TAILQ_HEAD(atfork_head, pthread_atfork) atfork_head;
/* Output debug messages like this: */
#define stdout_debug(args...) _thread_printf(STDOUT_FILENO, ##args)
#define stderr_debug(args...) _thread_printf(STDOUT_FILENO, ##args)
#define stderr_debug(args...) _thread_printf(STDERR_FILENO, ##args)
#ifdef _PTHREADS_INVARIANTS
#define THR_ASSERT(cond, msg) do { \