summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-27 14:12:59 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-27 14:12:59 +0000
commit01f1a20e869e042bfd386f7dd6dd0efa1496b0d3 (patch)
tree58a42ce55d1b2ee1f1004005ba4da8fd13ba77ca /testsuites
parente1a76274fae53d3322bae1731f615283ad71d0b4 (diff)
downloadrtems-01f1a20e869e042bfd386f7dd6dd0efa1496b0d3.tar.bz2
Add PRIxpthread_t.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/support/include/tmacros.h4
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