mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-07-07 20:29:04 +00:00
contrib/ports/win32: Fix NOTIFY_LINKSTATE macro.
This commit is contained in:
parent
4e543d897a
commit
f084d2fca0
@ -103,9 +103,9 @@
|
|||||||
|
|
||||||
/* link state notification macro */
|
/* link state notification macro */
|
||||||
#if NO_SYS
|
#if NO_SYS
|
||||||
#define NOTIFY_LINKSTATE(netif,linkfunc) tcpip_timeout(PHY_LINKUP_DELAY, (sys_timeout_handler)linkfunc, netif)
|
|
||||||
#else /* NO_SYS*/
|
|
||||||
#define NOTIFY_LINKSTATE(netif,linkfunc) linkfunc(netif)
|
#define NOTIFY_LINKSTATE(netif,linkfunc) linkfunc(netif)
|
||||||
|
#else /* NO_SYS*/
|
||||||
|
#define NOTIFY_LINKSTATE(netif,linkfunc) tcpip_timeout(PHY_LINKUP_DELAY, (sys_timeout_handler)linkfunc, netif)
|
||||||
#endif /* NO_SYS*/
|
#endif /* NO_SYS*/
|
||||||
|
|
||||||
/* Forward declarations. */
|
/* Forward declarations. */
|
||||||
|
Loading…
Reference in New Issue
Block a user