diff options
author | Damien George <damien.p.george@gmail.com> | 2019-02-15 16:07:24 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-02-15 16:07:24 +1100 |
commit | 7ef9482b8af5bdc2fd1dea0ae1fad5fc9539cc14 (patch) | |
tree | 1f3a31855609f0f8ad245e55000ee8091e18b22a /extmod/modlwip.c | |
parent | c551169bd8221a8c750ab0d0ca0eb3e9bde58530 (diff) |
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.
Diffstat (limited to 'extmod/modlwip.c')
-rw-r--r-- | extmod/modlwip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/modlwip.c b/extmod/modlwip.c index d76fd1b1e..36516803f 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) }, |