diff options
author | Damien George <damien.p.george@gmail.com> | 2014-09-06 18:39:39 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-09-06 18:39:39 +0100 |
commit | 33b50a02176bcf4f7114498f9925003808d6e53f (patch) | |
tree | 8429efb0fddd5b567a1fc6fbcde421a24471282c /py/mpconfig.h | |
parent | c7a79284bb13671d8829c68f28c6839fa0b76054 (diff) | |
parent | 78fde4819c2e56365947dcfcc686d447c1d75f09 (diff) | |
download | micropython-33b50a02176bcf4f7114498f9925003808d6e53f.tar.gz micropython-33b50a02176bcf4f7114498f9925003808d6e53f.zip |
Merge branch 'master' of github.com:micropython/micropython
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r-- | py/mpconfig.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index 78c288d7c3..633a4a52dd 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -448,6 +448,10 @@ typedef double mp_float_t; #define MP_PLAT_FREE_EXEC(ptr, size) m_del(byte, ptr, size) #endif +#ifndef MP_SSIZE_MAX +#define MP_SSIZE_MAX SSIZE_MAX +#endif + // printf format spec to use for mp_int_t and friends #ifndef INT_FMT #ifdef __LP64__ |