mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-07-04 15:29:30 +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 */
|
||||
#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)
|
||||
#else /* NO_SYS*/
|
||||
#define NOTIFY_LINKSTATE(netif,linkfunc) tcpip_timeout(PHY_LINKUP_DELAY, (sys_timeout_handler)linkfunc, netif)
|
||||
#endif /* NO_SYS*/
|
||||
|
||||
/* Forward declarations. */
|
||||
|
Loading…
Reference in New Issue
Block a user