From aab8be44974b32ba735905fa27dff43f02662b90 Mon Sep 17 00:00:00 2001 From: Tyler Retzlaff Date: Mon, 11 Jan 2021 15:16:36 -0800 Subject: [PATCH] eal/windows: build reciprocal division functions Build rte_reciprocal.c and export the following functions on windows: * rte_reciprocal_value * rte_reciprocal_value_u64 Signed-off-by: Tyler Retzlaff Acked-by: Dmitry Kozlyuk --- lib/librte_eal/common/meson.build | 1 + lib/librte_eal/rte_eal_exports.def | 2 ++ 2 files changed, 3 insertions(+) diff --git a/lib/librte_eal/common/meson.build b/lib/librte_eal/common/meson.build index 98e8fffd46..39d4272976 100644 --- a/lib/librte_eal/common/meson.build +++ b/lib/librte_eal/common/meson.build @@ -34,6 +34,7 @@ if is_windows 'rte_malloc.c', 'eal_common_timer.c', 'rte_random.c', + 'rte_reciprocal.c', 'rte_service.c', ) subdir_done() diff --git a/lib/librte_eal/rte_eal_exports.def b/lib/librte_eal/rte_eal_exports.def index fe27bffe45..474cf123fa 100644 --- a/lib/librte_eal/rte_eal_exports.def +++ b/lib/librte_eal/rte_eal_exports.def @@ -129,6 +129,8 @@ EXPORTS rte_openlog_stream rte_rand rte_realloc + rte_reciprocal_value + rte_reciprocal_value_u64 rte_rtm_supported rte_service_attr_get rte_service_attr_reset_all -- 2.20.1