From: Tyler Retzlaff Date: Mon, 11 Jan 2021 23:16:36 +0000 (-0800) Subject: eal/windows: build reciprocal division functions X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=aab8be44974b32ba735905fa27dff43f02662b90;p=dpdk.git 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 --- 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