mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-28 18:16:13 +00:00
Add documentation for LWIP_PROVIDE_ERRNO in arch.h
This commit is contained in:
parent
29b7c75a72
commit
2ad03b0ebd
@ -278,7 +278,7 @@ extern "C" {
|
|||||||
#define PACK_STRUCT_FLD_S(x) PACK_STRUCT_FIELD(x)
|
#define PACK_STRUCT_FLD_S(x) PACK_STRUCT_FIELD(x)
|
||||||
#endif /* PACK_STRUCT_FLD_S */
|
#endif /* PACK_STRUCT_FLD_S */
|
||||||
|
|
||||||
/** Packed structs support using \#include files before and after struct to be packed.\n
|
/** PACK_STRUCT_USE_INCLUDES==1: Packed structs support using \#include files before and after struct to be packed.\n
|
||||||
* The file included BEFORE the struct is "arch/bpstruct.h".\n
|
* The file included BEFORE the struct is "arch/bpstruct.h".\n
|
||||||
* The file included AFTER the struct is "arch/epstruct.h".\n
|
* The file included AFTER the struct is "arch/epstruct.h".\n
|
||||||
* This can be used to implement struct packing on MS Visual C compilers, see
|
* This can be used to implement struct packing on MS Visual C compilers, see
|
||||||
@ -295,6 +295,14 @@ extern "C" {
|
|||||||
#define LWIP_UNUSED_ARG(x) (void)x
|
#define LWIP_UNUSED_ARG(x) (void)x
|
||||||
#endif /* LWIP_UNUSED_ARG */
|
#endif /* LWIP_UNUSED_ARG */
|
||||||
|
|
||||||
|
/** LWIP_PROVIDE_ERRNO==1: Let lwIP provide ERRNO values and the 'errno' variable.
|
||||||
|
* If this is disabled, cc.h must either define 'errno', include <errno.h> or
|
||||||
|
* define LWIP_ERRNO_INCLUDE to <errno.h> or equivalent.
|
||||||
|
*/
|
||||||
|
#if defined __DOXYGEN__
|
||||||
|
#define LWIP_PROVIDE_ERRNO
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @}
|
* @}
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user