From: Tyler Retzlaff <roret...@microsoft.com>

build rte_reciprocal.c and export the following functions on windows
  * rte_reciprocal_value
  * rte_reciprocal_value_u64

Signed-off-by: Tyler Retzlaff <roret...@microsoft.com>
---
 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 39abf7a0a..9c6f18eb8 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_service.c',
+               'rte_reciprocal.c',
        )
        subdir_done()
 endif
diff --git a/lib/librte_eal/rte_eal_exports.def 
b/lib/librte_eal/rte_eal_exports.def
index 4597eb8cd..99f64194d 100644
--- a/lib/librte_eal/rte_eal_exports.def
+++ b/lib/librte_eal/rte_eal_exports.def
@@ -128,6 +128,8 @@ EXPORTS
        rte_memzone_walk
        rte_openlog_stream
        rte_realloc
+       rte_reciprocal_value
+       rte_reciprocal_value_u64
        rte_rtm_supported
        rte_service_attr_get
        rte_service_attr_reset_all
-- 
2.29.0.vfs.0.0

Reply via email to