aboutsummaryrefslogtreecommitdiff
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-01-07 23:59:17 +1100
committerDamien George <damien@micropython.org>2022-01-07 23:59:17 +1100
commit772058a6bd7f19866f5123f0f708440207eb5b93 (patch)
treea6e6a9b8a6d4efce5fe9f66d644e6ca9b3dae483 /py/mpconfig.h
parent22cf0940e134453dee6fd6c617b28ecd1ec50943 (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.h3
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