diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-11-17 00:16:14 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-11-17 00:16:14 +0200 |
commit | 91386eee2613cbaf736d746cfef28674cce82c01 (patch) | |
tree | 68970598d01ce50b7a549a48dc95fce8ad85f925 /unix-cpy/mpconfigport.h | |
parent | fa2edabc5c78408538633b14802379f7b8dcc9c5 (diff) | |
download | micropython-91386eee2613cbaf736d746cfef28674cce82c01.tar.gz micropython-91386eee2613cbaf736d746cfef28674cce82c01.zip |
ports: Define mp_off_t.
Diffstat (limited to 'unix-cpy/mpconfigport.h')
-rw-r--r-- | unix-cpy/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unix-cpy/mpconfigport.h b/unix-cpy/mpconfigport.h index 4d1deb8793..2c1d5d7b27 100644 --- a/unix-cpy/mpconfigport.h +++ b/unix-cpy/mpconfigport.h @@ -48,6 +48,7 @@ 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 double machine_float_t; +typedef long mp_off_t; // We need to provide a declaration/definition of alloca() #ifdef __FreeBSD__ |