contrib/ports/win32: Fix NOTIFY_LINKSTATE macro.

This commit is contained in:
fbernon 2008-06-03 10:10:28 +00:00
parent 4e543d897a
commit f084d2fca0

View File

@ -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. */