diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-27 14:12:59 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-27 14:12:59 +0000 |
commit | 01f1a20e869e042bfd386f7dd6dd0efa1496b0d3 (patch) | |
tree | 58a42ce55d1b2ee1f1004005ba4da8fd13ba77ca /testsuites/support/include/tmacros.h | |
parent | 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-01f1a20e869e042bfd386f7dd6dd0efa1496b0d3.tar.bz2 |
Add PRIxpthread_t.
Diffstat (limited to 'testsuites/support/include/tmacros.h')
-rw-r--r-- | testsuites/support/include/tmacros.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |