From 60cb5bdd30ec3265cbb5c1c667f5c98cbbb84aab Mon Sep 17 00:00:00 2001
From: Øyvind Harboe <oyvind.harboe@zylin.com>
Date: Thu, 21 Jan 2010 08:11:39 +0100
Subject: ecos: add missing PRId8 definition
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
---
 src/helper/types.h | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src')

diff --git a/src/helper/types.h b/src/helper/types.h
index 03ab5f0c..1010dcd9 100644
--- a/src/helper/types.h
+++ b/src/helper/types.h
@@ -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;
-- 
cgit v1.2.3