8000 py/mpconfig.h: Define MICROPY_PY_USSL_FINALISER only if not defined. · DEVBOX10/micropython@772058a · GitHub < 8000 link rel="mask-icon" href="https://github.githubassets.com/assets/pinned-octocat-093da3e6fa40.svg" color="#000000">
[go: up one dir, main page]

Skip to content

Commit 772058a

Browse files
committed
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>
1 parent 22cf094 commit 772058a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

py/mpconfig.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1552,7 +1552,10 @@ typedef double mp_float_t;
15521552

15531553
#ifndef MICROPY_PY_USSL
15541554
#define MICROPY_PY_USSL (0)
1555+
#endif
1556+
15551557
// Whether to add finaliser code to ussl objects
1558+
#ifndef MICROPY_PY_USSL_FINALISER
15561559
#define MICROPY_PY_USSL_FINALISER (0)
15571560
#endif
15581561

0 commit comments

Comments
 (0)
0