aboutsummaryrefslogtreecommitdiff
path: root/teensy
diff options
context:
space:
mode:
authorPaul Sokolovsky2014-11-17 00:16:14 +0200
committerPaul Sokolovsky2014-11-17 00:16:14 +0200
commit91386eee2613cbaf736d746cfef28674cce82c01 (patch)
tree68970598d01ce50b7a549a48dc95fce8ad85f925 /teensy
parentfa2edabc5c78408538633b14802379f7b8dcc9c5 (diff)
ports: Define mp_off_t.
Diffstat (limited to 'teensy')
-rw-r--r--teensy/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/teensy/mpconfigport.h b/teensy/mpconfigport.h
index 8e2ba4afd..efe51fecd 100644
--- a/teensy/mpconfigport.h
+++ b/teensy/mpconfigport.h
@@ -55,6 +55,7 @@ typedef int32_t mp_int_t; // must be pointer size
typedef unsigned int mp_uint_t; // must be pointer size
typedef void *machine_ptr_t; // must be of pointer size
typedef const void *machine_const_ptr_t; // must be of pointer size
+typedef long mp_off_t;
// We have inlined IRQ functions for efficiency (they are generally
// 1 machine instruction).