eal/windows: build reciprocal division functions
authorTyler Retzlaff <roretzla@linux.microsoft.com>
Mon, 11 Jan 2021 23:16:36 +0000 (15:16 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 15 Jan 2021 14:04:03 +0000 (15:04 +0100)
Build rte_reciprocal.c and export the following functions on windows:
  * rte_reciprocal_value
  * rte_reciprocal_value_u64

Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
lib/librte_eal/common/meson.build
lib/librte_eal/rte_eal_exports.def

index 98e8fff..39d4272 100644 (file)
@@ -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()
index fe27bff..474cf12 100644 (file)
@@ -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