diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-07-23 22:10:27 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-07-23 22:10:27 +0000 |
commit | 1d2230a7d275706c5f0de850e15527aae3744310 (patch) | |
tree | 55f15700b16f705aa953d5c4051b2e63ca72041a /libpthread/linuxthreads/debug.h | |
parent | 6fa52ec791e030081b7102f50222a13af7fa0d49 (diff) | |
download | uClibc-alpine-1d2230a7d275706c5f0de850e15527aae3744310.tar.bz2 uClibc-alpine-1d2230a7d275706c5f0de850e15527aae3744310.tar.xz |
Merge from trunk.
Diffstat (limited to 'libpthread/linuxthreads/debug.h')
-rw-r--r-- | libpthread/linuxthreads/debug.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/debug.h b/libpthread/linuxthreads/debug.h index 79acb23c0..a2ac5113a 100644 --- a/libpthread/linuxthreads/debug.h +++ b/libpthread/linuxthreads/debug.h @@ -23,13 +23,19 @@ #ifndef _PT_DEBUG_H #define _PT_DEBUG_H +#include <features.h> + +#ifdef __DODEBUG_PT__ +# define DEBUG_PT +#endif + /* include asserts for now */ #define DO_ASSERT /* define the PDEBUG macro here */ #undef PDEBUG #ifdef DEBUG_PT -# define PDEBUG(fmt, args...) __pthread_message(__FUNCTION__": " fmt, ## args) +# define PDEBUG(fmt, args...) __pthread_message("%s: " fmt, __FUNCTION__, ## args) #else # define PDEBUG(fmt, args...) /* debug switched off */ #endif |