From 7ef9482b8af5bdc2fd1dea0ae1fad5fc9539cc14 Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 15 Feb 2019 16:07:24 +1100 Subject: [PATCH] extmod/modlwip: Change #ifdef to #if for check of MICROPY_PY_LWIP. Otherwise this code will be included if MICROPY_PY_LWIP is defined to 0. --- extmod/modlwip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extmod/modlwip.c b/extmod/modlwip.c index d76fd1b1e4..36516803fc 100644 --- a/extmod/modlwip.c +++ b/extmod/modlwip.c @@ -1500,7 +1500,7 @@ STATIC mp_obj_t lwip_print_pcbs() { } MP_DEFINE_CONST_FUN_OBJ_0(lwip_print_pcbs_obj, lwip_print_pcbs); -#ifdef MICROPY_PY_LWIP +#if MICROPY_PY_LWIP STATIC const mp_rom_map_elem_t mp_module_lwip_globals_table[] = { { MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_lwip) },