diff options
author | Damien George <damien.p.george@gmail.com> | 2017-02-03 12:35:48 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-02-03 12:35:48 +1100 |
commit | a19b5a01ce5898f39ba150167bcf0d40f708e18e (patch) | |
tree | b9d2e884baf3d55e1d8aff2a4e28d44c646f6e54 /py | |
parent | 84fb292cd55727598159585f864dce669203aec9 (diff) | |
download | micropython-a19b5a01ce5898f39ba150167bcf0d40f708e18e.tar.gz micropython-a19b5a01ce5898f39ba150167bcf0d40f708e18e.zip |
py/mpconfig.h: Move PY_BUILTINS_POW3 config option to diff part of file.
With so many config options it's good to (at least try to) keep them
grouped into logical sections.
Diffstat (limited to 'py')
-rw-r--r-- | py/mpconfig.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index 13af4c62bd..afd9a0be5e 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -490,11 +490,6 @@ #define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_NONE) #endif -// Support for calls to pow() with 3 integer arguments -#ifndef MICROPY_PY_BUILTINS_POW3 -#define MICROPY_PY_BUILTINS_POW3 (0) -#endif - #if MICROPY_LONGINT_IMPL == MICROPY_LONGINT_IMPL_LONGLONG typedef long long mp_longint_impl_t; #endif @@ -764,6 +759,11 @@ typedef double mp_float_t; #define MICROPY_PY_BUILTINS_MIN_MAX (1) #endif +// Support for calls to pow() with 3 integer arguments +#ifndef MICROPY_PY_BUILTINS_POW3 +#define MICROPY_PY_BUILTINS_POW3 (0) +#endif + // Whether to provide the help function #ifndef MICROPY_PY_BUILTINS_HELP #define MICROPY_PY_BUILTINS_HELP (0) |