diff options
author | Damien George <damien@micropython.org> | 2022-01-07 23:59:17 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-01-07 23:59:17 +1100 |
commit | 772058a6bd7f19866f5123f0f708440207eb5b93 (patch) | |
tree | a6e6a9b8a6d4efce5fe9f66d644e6ca9b3dae483 /py/mpconfig.h | |
parent | 22cf0940e134453dee6fd6c617b28ecd1ec50943 (diff) |
py/mpconfig.h: Define MICROPY_PY_USSL_FINALISER only if not defined.
So a port can define it even if MICROPY_PY_USSL is not defined.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r-- | py/mpconfig.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index 2aa6f634e..597881d6f 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -1552,7 +1552,10 @@ typedef double mp_float_t; #ifndef MICROPY_PY_USSL #define MICROPY_PY_USSL (0) +#endif + // Whether to add finaliser code to ussl objects +#ifndef MICROPY_PY_USSL_FINALISER #define MICROPY_PY_USSL_FINALISER (0) #endif |