summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include/rtems/_inttypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/include/rtems/_inttypes.h')
-rw-r--r--cpukit/libcsupport/include/rtems/_inttypes.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/libcsupport/include/rtems/_inttypes.h b/cpukit/libcsupport/include/rtems/_inttypes.h
index b9167e9f95..f74105470b 100644
--- a/cpukit/libcsupport/include/rtems/_inttypes.h
+++ b/cpukit/libcsupport/include/rtems/_inttypes.h
@@ -26,6 +26,7 @@
#define PRIx8 __PRI8(x)
#define PRIX8 __PRI8(X)
+#undef __PRI8
/* 16-bit types */
#define __PRI16(x) __STRINGIFY(x)
@@ -37,6 +38,8 @@
#define PRIx16 __PRI16(x)
#define PRIX16 __PRI16(X)
+#undef __PRI16
+
/* 32-bit types */
#if defined(__rtems_long32)
#define __PRI32(x) __STRINGIFY(l##x)
@@ -51,6 +54,7 @@
#define PRIx32 __PRI32(x)
#define PRIX32 __PRI32(X)
+#undef __PRI32
/* 64-bit types */
#if defined(__rtems_longlong64)
@@ -68,4 +72,7 @@
#define PRIx64 __PRI64(x)
#define PRIX64 __PRI64(X)
+#undef __STRINGIFY
+#undef __PRI64
+
#endif /* __rtems__inttypes_h */