aboutsummaryrefslogtreecommitdiff
path: root/stmhal/mpconfigport.h
diff options
context:
space:
mode:
authorPaul Sokolovsky2014-11-17 00:16:14 +0200
committerPaul Sokolovsky2014-11-17 00:16:14 +0200
commitfa2edabc5c78408538633b14802379f7b8dcc9c5 (patch)
treec402373059d358dfa12fdc952b6441539544ee3d /stmhal/mpconfigport.h
parentc7d5500142a26daf00661960b26e899135826b1f (diff)
stmhal: Switch to file.seek() implementation using stream ioctl.
Diffstat (limited to 'stmhal/mpconfigport.h')
-rw-r--r--stmhal/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h
index c85f5fba7..96936e46f 100644
--- a/stmhal/mpconfigport.h
+++ b/stmhal/mpconfigport.h
@@ -124,6 +124,7 @@ typedef int 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).