mempool/stack: build on Windows

Enable build of mempool/stack on Windows.

Signed-off-by: Jie Zhou <jizh@linux.microsoft.com>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
This commit is contained in:
Jie Zhou 2021-09-30 17:50:12 -07:00 committed by Thomas Monjalon
parent 8751a7e983
commit 09e4eceacb
3 changed files with 2 additions and 5 deletions

View File

@ -1,11 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017-2019 Intel Corporation
if is_windows
build = false
reason = 'not supported on Windows'
endif
sources = files('rte_mempool_stack.c')
deps += ['stack']

View File

@ -85,6 +85,7 @@ if is_windows
'gso',
'latencystats',
'pdump',
'stack',
] # only supported libraries for windows
endif

View File

@ -3,6 +3,7 @@
*/
#include <string.h>
#include <sys/queue.h>
#include <rte_string_fns.h>
#include <rte_atomic.h>