summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/net/lwip/port/lwipopts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/net/lwip/port/lwipopts.h b/components/net/lwip/port/lwipopts.h
index a297af7060..9cd86abc68 100644
--- a/components/net/lwip/port/lwipopts.h
+++ b/components/net/lwip/port/lwipopts.h
@@ -654,7 +654,7 @@
#endif
#endif /* RT_USING_LWIP_VER_NUM >= 0x20000 */
-#if RT_LWIP_ENABLE_USER_HOOKS
+#ifdef RT_LWIP_ENABLE_USER_HOOKS
/**
 * This hook provides flexibility for handling unknown Ethernet protocols.
 *