diff mbox

[ovs-dev] windows: fix broken build

Message ID 6FDA0CACF4BC624BBE12167875D71C9B409207A0@CBSEX1.cloudbase.local
State Accepted
Headers show

Commit Message

Alin Serdean May 5, 2017, 9:52 p.m. UTC
From: Guru Shetty [mailto:guru@ovn.org]
Sent: Saturday, May 6, 2017 12:12 AM
To: Alin Serdean <aserdean@cloudbasesolutions.com>
Cc: dev@openvswitch.org
Subject: Re: [ovs-dev] [PATCH] windows: fix broken build



On 5 May 2017 at 13:20, Alin Serdean <aserdean@cloudbasesolutions.com<mailto:aserdean@cloudbasesolutions.com>> wrote:
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@cloudbasesolutions.com<mailto:aserdean@cloudbasesolutions.com>>

I applied this after changing the commit message to something more meaningful.
[Alin Serdean] Thanks a lot Guru!

---
 include/windows/windefs.h | 2 ++
 1 file changed, 2 insertions(+)

--
2.10.2.windows.1
diff mbox

Patch

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 */