Skip to content

Commit

Permalink
windows: Add definition for EPFNOSUPPORT.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alin Serdean authored and shettyg committed May 5, 2017
1 parent 45b18dc commit 49e0489
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/windows/windefs.h
Expand Up @@ -45,4 +45,6 @@ char *strsep(char **stringp, const char *delim);
#define srandom srand
#define random rand

#define EPFNOSUPPORT WSAEPFNOSUPPORT

#endif /* windefs.h */

0 comments on commit 49e0489

Please sign in to comment.