From 01f1a20e869e042bfd386f7dd6dd0efa1496b0d3 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 27 Oct 2009 14:12:59 +0000 Subject: Add PRIxpthread_t. --- testsuites/support/include/tmacros.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'testsuites') diff --git a/testsuites/support/include/tmacros.h b/testsuites/support/include/tmacros.h index 1876d22937..28793a3579 100644 --- a/testsuites/support/include/tmacros.h +++ b/testsuites/support/include/tmacros.h @@ -282,6 +282,10 @@ extern volatile uint32_t _Thread_Dispatch_disable_level; /* rtems_event_set is a typedef to unit32_t */ #define PRIxrtems_event_set PRIx32 +/* HACK: newlib defines pthread_t as a typedef to __uint32_t */ +/* HACK: There is no portable way to print pthread_t's */ +#define PRIxpthread_t PRIx32 + #ifdef __cplusplus } #endif -- cgit v1.2.3