projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1675f19
)
netlink-socket: Allow compiling on MSVC even without HAVE_NETLINK.
author
Alin Serdean
<aserdean@cloudbasesolutions.com>
Tue, 29 Jul 2014 15:22:37 +0000
(15:22 +0000)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 29 Jul 2014 16:32:55 +0000
(09:32 -0700)
Bypass the error compilation when compiling under MSVC.
Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/netlink-socket.h
patch
|
blob
|
history
diff --git
a/lib/netlink-socket.h
b/lib/netlink-socket.h
index
cdf32d2
..
93dc9c8
100644
(file)
--- a/
lib/netlink-socket.h
+++ b/
lib/netlink-socket.h
@@
-192,8
+192,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 **);