[dpdk-dev] [PATCH] eal/windows: revert definition of ETOOMANYREFS

Nick Connolly nick.connolly at mayadata.io
Thu Nov 19 17:03:41 CET 2020


Reviewed-by: Nick Connolly <nick.connolly at mayadata.io>

On 19/11/2020 15:43, Tal Shnaiderman wrote:
> This reverts commit c917b54b0c743c7a570a4d8df8954c61d8b818c4.
>
> The definition of ETOOMANYREFS is reverted as it breaks build of
> external applications already defining it.
>
> Fixes: c917b54b0c ("eal/windows: add definition of ETOOMANYREFS")
> Cc: stable at dpdk.org
>
> Signed-off-by: Tal Shnaiderman <talshn at nvidia.com>
> ---
>   lib/librte_eal/windows/include/rte_os.h | 2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/lib/librte_eal/windows/include/rte_os.h b/lib/librte_eal/windows/include/rte_os.h
> index 8300ea483a..569ed92d51 100644
> --- a/lib/librte_eal/windows/include/rte_os.h
> +++ b/lib/librte_eal/windows/include/rte_os.h
> @@ -51,8 +51,6 @@ extern "C" {
>   /* as in <windows.h> */
>   typedef long long ssize_t;
>   
> -#define ETOOMANYREFS 10059 /* WSAETOOMANYREFS */
> -
>   #ifndef RTE_TOOLCHAIN_GCC
>   
>   static inline int



More information about the dev mailing list