diff options
| author | Paul Sokolovsky | 2016-08-24 18:28:43 +0300 |
|---|---|---|
| committer | Paul Sokolovsky | 2016-08-24 18:28:43 +0300 |
| commit | c4283675439d549fac09c5695aa5f8d6c3319dd5 (patch) | |
| tree | 8bbc311f44178bf4ddbedce902246b9ad3798288 /py | |
| parent | 39799f7564d28737fa815a3a5d370c91414998ef (diff) | |
extmod/modubinascii: Make crc32() support configurable.
Disable by default, enable in unix port.
Diffstat (limited to 'py')
| -rw-r--r-- | py/mpconfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
