eal/windows: remove definition of ETOOMANYREFS
authorTal Shnaiderman <talshn@nvidia.com>
Thu, 19 Nov 2020 15:43:10 +0000 (17:43 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 20 Nov 2020 14:59:02 +0000 (15:59 +0100)
The definition of ETOOMANYREFS is reverted as it breaks build of
external applications already defining it.

Fixes: c917b54b0c74 ("eal/windows: add definition of ETOOMANYREFS")

Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Reviewed-by: Nick Connolly <nick.connolly@mayadata.io>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
lib/librte_eal/windows/include/rte_os.h

index 8300ea4..569ed92 100644 (file)
@@ -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