From c4283675439d549fac09c5695aa5f8d6c3319dd5 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 24 Aug 2016 18:28:43 +0300 Subject: extmod/modubinascii: Make crc32() support configurable. Disable by default, enable in unix port. --- py/mpconfig.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'py') diff --git a/py/mpconfig.h b/py/mpconfig.h index 3808df743..491a53746 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -887,6 +887,11 @@ typedef double mp_float_t; #define MICROPY_PY_UBINASCII (0) #endif +// Depends on MICROPY_PY_UZLIB +#ifndef MICROPY_PY_UBINASCII_CRC32 +#define MICROPY_PY_UBINASCII_CRC32 (0) +#endif + #ifndef MICROPY_PY_URANDOM #define MICROPY_PY_URANDOM (0) #endif -- cgit v1.2.3