summaryrefslogtreecommitdiff
path: root/include/windows
diff options
context:
space:
mode:
authorAlin Serdean <aserdean@cloudbasesolutions.com>2017-05-05 20:20:40 +0000
committerGurucharan Shetty <guru@ovn.org>2017-05-05 14:10:52 -0700
commit49e04890ad2fb4863f3dcd9c82eedf7360fe83e3 (patch)
tree074b9be8114aae9ab938b74b00b4102f45bab37b /include/windows
parent45b18dc3d84e9e83c656963586bab082e57fa2a0 (diff)
downloadopenvswitch-49e04890ad2fb4863f3dcd9c82eedf7360fe83e3.tar.gz
windows: Add definition for EPFNOSUPPORT.
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> Acked-by: Sairam Venugopal <vsairam@vmware.com> Acked-by: Shashank Ram <rams@vmware.com> Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Diffstat (limited to 'include/windows')
-rw-r--r--include/windows/windefs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/windows/windefs.h b/include/windows/windefs.h
index 5137f073c..6ed8d8722 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 */