[ovs-dev] [PATCH] windows: fix broken build
Alin Serdean
aserdean at cloudbasesolutions.com
Fri May 5 20:20:40 UTC 2017
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 <aserdean at cloudbasesolutions.com>
---
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
More information about the dev
mailing list