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>
pull/8151/head
Damien George 2022-01-07 23:59:17 +11:00
rodzic 22cf0940e1
commit 772058a6bd
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

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