Maarten Lankhorst : ws2_32: Define IP_UNICAST_IF if not found on linux.
Module: wine Branch: master Commit: 7ce6a2dfd434d8c61d5bd1525a555c19706ac5a2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7ce6a2dfd434d8c61d5bd1525a... Author: Maarten Lankhorst <maarten.lankhorst(a)canonical.com> Date: Sat Oct 27 12:39:59 2012 +0200 ws2_32: Define IP_UNICAST_IF if not found on linux. --- dlls/ws2_32/socket.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c index 792ab1c..5c69d21 100644 --- a/dlls/ws2_32/socket.c +++ b/dlls/ws2_32/socket.c @@ -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
participants (1)
-
Alexandre Julliard