mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
Contents of iob.h should not be compiled if CONFIG_NET_IOB is not set
This commit is contained in:
@@ -46,6 +46,8 @@
|
|||||||
|
|
||||||
#include <nuttx/net/iob.h>
|
#include <nuttx/net/iob.h>
|
||||||
|
|
||||||
|
#ifdef CONFIG_NET_IOB
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@@ -310,4 +312,6 @@ void iob_dump(FAR const char *msg, FAR struct iob_s *iob, unsigned int len,
|
|||||||
# define iob_dump(wrb)
|
# define iob_dump(wrb)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif /* CONFIG_NET_IOB */
|
||||||
#endif /* _INCLUDE_NUTTX_NET_IOB_H */
|
#endif /* _INCLUDE_NUTTX_NET_IOB_H */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user