ws2_32: Define IP_UNICAST_IF if not found on linux.

This commit is contained in:
Maarten Lankhorst 2012-10-27 12:39:59 +02:00 committed by Alexandre Julliard
parent 3ad40bf647
commit 7ce6a2dfd4
1 changed files with 3 additions and 0 deletions

View File

@ -157,6 +157,9 @@
# include "wsnwlink.h"
#endif
#if defined(linux) && !defined(IP_UNICAST_IF)
#define IP_UNICAST_IF 50
#endif
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
# define sipx_network sipx_addr.x_net