]> git.sur5r.net Git - openocd/commitdiff
ecos: add missing PRId8 definition
authorØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 21 Jan 2010 07:11:39 +0000 (08:11 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 21 Jan 2010 07:11:39 +0000 (08:11 +0100)
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/helper/types.h

index 03ab5f0c2edd03ef2c8afa168c1b9f8343c54691..1010dcd967b6365f198ce9738ac431b6fcc11b8d 100644 (file)
@@ -172,6 +172,7 @@ static inline void h_u16_to_be(uint8_t* buf, int val)
 #define SCNx32 "x"
 #define PRIi32 "i"
 #define PRIu32 "u"
+#define PRId8 PRId32
 
 typedef CYG_ADDRWORD intptr_t;
 typedef int64_t intmax_t;