Define MP_SSIZE_MAX for LONGINT_IMPL_LONGLONG as well.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
This commit is contained in:
Lionel Debroux 2019-02-16 23:06:33 +01:00
parent 90bc09a31e
commit 94e51de166
1 changed files with 1 additions and 0 deletions

View File

@ -204,6 +204,7 @@ typedef long mp_off_t;
#ifdef LONGINT_IMPL_LONGLONG
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_LONGLONG)
#define MP_SSIZE_MAX (0x7fffffff)
#endif