[ovs-dev] [PATCH] windows: fix broken build

Guru Shetty guru at ovn.org
Fri May 5 21:11:54 UTC 2017


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

I applied this after changing the commit message to something more
meaningful.


> ---
>  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
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>


More information about the dev mailing list