summaryrefslogtreecommitdiff
path: root/src/jtag/jtag.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/jtag/jtag.h')
-rw-r--r--src/jtag/jtag.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h
index 84290ca7..19c30580 100644
--- a/src/jtag/jtag.h
+++ b/src/jtag/jtag.h
@@ -607,6 +607,11 @@ extern void jtag_add_callback(jtag_callback1_t, u8 *in);
/* implemented by minidriver */
#endif
+
+#ifdef __ECOS
+typedef CYG_ADDRWORD intptr_t;
+#endif
+
/* This type can store an integer safely by a normal cast on 64 and
* 32 bit systems. */
typedef intptr_t jtag_callback_data_t;