________________________________
From: [email protected] <[email protected]> on 
behalf of Alin Serdean <[email protected]>
Sent: Friday, May 5, 2017 1:20 PM
To: [email protected]
Subject: [ovs-dev] [PATCH] windows: fix broken build

The Windows build is failing because EPFNOSUPPORT does not exist.

An equivalent is supplied using the WinSock API: WSAEPFNOSUPPORT.

Signed-off-by: Alin Gabriel Serdean <[email protected]>
---
 include/windows/windefs.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/windows/windefs.h b/include/windows/windefs.h
index 5137f07..6ed8d87 100644
--- a/include/windows/windefs.h
+++ b/include/windows/windefs.h
@@ -45,4 +45,6 @@ char *strsep(char **stringp, const char *delim);
 #define srandom srand
 #define random rand

+#define EPFNOSUPPORT WSAEPFNOSUPPORT
+
 #endif /* windefs.h */
--
2.10.2.windows.1
_______________________________________________

Acked-by: Shashank Ram <[email protected]>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to