summaryrefslogtreecommitdiffstatshomepage
path: root/py/binary.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-02-15 23:02:00 +0000
committerDamien George <damien.p.george@gmail.com>2014-02-15 23:02:00 +0000
commit96056a62721cb4d81856311d9b808460a80b59d4 (patch)
treef045e95012e543051b540fa39d943f1361c7c02b /py/binary.c
parent91f2dbf64cade1a1872e4d09cdb2c74daa782c3b (diff)
downloadmicropython-96056a62721cb4d81856311d9b808460a80b59d4.tar.gz
micropython-96056a62721cb4d81856311d9b808460a80b59d4.zip
py: Revent some long int configuration.
Diffstat (limited to 'py/binary.c')
-rw-r--r--py/binary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/binary.c b/py/binary.c
index f8daa3e6fd..b28eb6426c 100644
--- a/py/binary.c
+++ b/py/binary.c
@@ -63,7 +63,7 @@ mp_obj_t mp_binary_get_val(char typecode, void *p, int index) {
case 'I':
case 'L':
return mp_obj_new_int_from_uint(((uint32_t*)p)[index]);
-#if MICROPY_LONGINT_IMPL == MICROPY_LONGINT_IMPL_LONGLONG
+#if MICROPY_LONGINT_IMPL != MICROPY_LONGINT_IMPL_NONE
case 'q':
case 'Q':
// TODO: Explode API more to cover signedness