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>
This commit is contained in:
Damien George 2022-01-07 23:59:17 +11:00
parent 22cf0940e1
commit 772058a6bd

View File

@ -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