[dpdk-dev] [PATCH v3 1/4] eal: disable function versioning on Windows
Thomas Monjalon
thomas at monjalon.net
Tue Jun 30 01:26:29 CEST 2020
22/06/2020 13:55, Fady Bader:
> Function versioning is not needed on Windows, also the function versioning
> implementation is not supported by Windows.
I think it was said that "not needed" is not right.
Let's just say that it is not supported for now.
> Function versioning was disabled on Windows.
>
> Signed-off-by: Fady Bader <fady at mellanox.com>
> ---
> --- a/lib/librte_eal/include/rte_function_versioning.h
> +++ b/lib/librte_eal/include/rte_function_versioning.h
> +#ifdef RTE_EXEC_ENV_WINDOWS
> +#undef RTE_BUILD_SHARED_LIB
> +#endif
This trick is a bit weird but works.
A comment is missing to explain that function versioning is disabled
but shared libraries are allowed for Windows.
More information about the dev
mailing list