From cb889f976ad97974d32a88e481405cb7d352bcb3 Mon Sep 17 00:00:00 2001 From: Srikanth Thokala Date: Thu, 3 Jul 2014 18:18:57 +0530 Subject: [PATCH] bsp: Define intptr and ptrdiff types This patch defines intptr and ptrdiff types. Signed-off-by: Srikanth Thokala Acked-by: Anirudha Sarangi --- lib/bsp/standalone/src/common/xil_types.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/bsp/standalone/src/common/xil_types.h b/lib/bsp/standalone/src/common/xil_types.h index fa11dded..a0965a24 100755 --- a/lib/bsp/standalone/src/common/xil_types.h +++ b/lib/bsp/standalone/src/common/xil_types.h @@ -53,6 +53,7 @@ #define XIL_TYPES_H /* by using protection macros */ #include +#include /************************** Constant Definitions *****************************/ @@ -129,6 +130,9 @@ typedef int8_t s8; typedef int16_t s16; typedef int32_t s32; typedef int64_t s64; +typedef intptr_t INTPTR; +typedef uintptr_t UINTPTR; +typedef ptrdiff_t PTRDIFF; #else #include #endif