diff options
author | pohmelie <multisosnooley@gmail.com> | 2015-12-07 15:35:48 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-12-07 18:56:25 +0200 |
commit | 354e688d8ebf78d34577db4b45388dede4954b8d (patch) | |
tree | 9d1a8e55f3f38e025f292f30c4a29fdb0524e8fd /py/mpconfig.h | |
parent | acc208418bb1fd1f37f64cdbddc6be7a8eaeb4b8 (diff) | |
download | micropython-354e688d8ebf78d34577db4b45388dede4954b8d.tar.gz micropython-354e688d8ebf78d34577db4b45388dede4954b8d.zip |
py: Add MICROPY_PY_BUILTINS_MIN_MAX, disable for minimal ports.
Diffstat (limited to 'py/mpconfig.h')
-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 4d81f25d3f..c05f33c453 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -610,6 +610,11 @@ typedef double mp_float_t; #define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (0) #endif +// Whether to support min/max functions +#ifndef MICROPY_PY_BUILTINS_MIN_MAX +#define MICROPY_PY_BUILTINS_MIN_MAX (1) +#endif + // Whether to set __file__ for imported modules #ifndef MICROPY_PY___FILE__ #define MICROPY_PY___FILE__ (1) |