Bypass the error compilation when compiling under MSVC.

Signed-off-by: Alin Gabriel Serdean <aserd...@cloudbasesolutions.com>
---
 lib/netlink-socket.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/netlink-socket.h b/lib/netlink-socket.h
index d53db4e..2b9ec52 100644
--- a/lib/netlink-socket.h
+++ b/lib/netlink-socket.h
@@ -57,8 +57,10 @@
 struct nl_sock;
 
 #ifndef HAVE_NETLINK
+#ifndef _WIN32
 #error "netlink-socket.h is only for hosts that support Netlink sockets"
 #endif
+#endif
 
 /* Netlink sockets. */
 int nl_sock_create(int protocol, struct nl_sock **);
-- 
1.9.0.msysgit.0
  
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to