eal/windows: add definition of ETOOMANYREFS

The ETOOMANYREFS errno was missing from the Windows build.
It is used in initialization of flow error structures.

It is defined with the same error code used by WSAETOOMANYREFS.

Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
This commit is contained in:
Tal Shnaiderman 2020-11-15 00:21:29 +02:00 committed by Thomas Monjalon
parent 1509e07f58
commit c917b54b0c

View File

@ -51,6 +51,8 @@ extern "C" {
/* as in <windows.h> */ /* as in <windows.h> */
typedef long long ssize_t; typedef long long ssize_t;
#define ETOOMANYREFS 10059 /* WSAETOOMANYREFS */
#ifndef RTE_TOOLCHAIN_GCC #ifndef RTE_TOOLCHAIN_GCC
static inline int static inline int