summaryrefslogtreecommitdiffstatshomepage
path: root/qemu-arm
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-11-17 00:16:14 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-11-17 00:16:14 +0200
commit91386eee2613cbaf736d746cfef28674cce82c01 (patch)
tree68970598d01ce50b7a549a48dc95fce8ad85f925 /qemu-arm
parentfa2edabc5c78408538633b14802379f7b8dcc9c5 (diff)
downloadmicropython-91386eee2613cbaf736d746cfef28674cce82c01.tar.gz
micropython-91386eee2613cbaf736d746cfef28674cce82c01.zip
ports: Define mp_off_t.
Diffstat (limited to 'qemu-arm')
-rw-r--r--qemu-arm/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-arm/mpconfigport.h b/qemu-arm/mpconfigport.h
index e3c0969a5d..45c7737413 100644
--- a/qemu-arm/mpconfigport.h
+++ b/qemu-arm/mpconfigport.h
@@ -29,6 +29,7 @@ typedef int32_t mp_int_t; // must be pointer size
typedef uint32_t 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;
// extra built in names to add to the global namespace
extern const struct _mp_obj_fun_builtin_t mp_builtin_open_obj;