[PATCH 0/2] provide toolchain abstracted __builtin_constant_p
Tyler Retzlaff
roretzla at linux.microsoft.com
Wed Mar 20 22:33:34 CET 2024
Decouple direct dependency on GCC built-in __builtin_constant_p provide
a new macro __rte_constant(e) that expands to the built-in for GCC and
to false for MSVC.
Tyler Retzlaff (2):
eal: provide macro for GCC builtin constant intrinsic
mempool: use rte constant macro instead of GCC builtin
lib/eal/include/rte_common.h | 6 ++++++
lib/mempool/rte_mempool.h | 7 +++----
2 files changed, 9 insertions(+), 4 deletions(-)
--
1.8.3.1
More information about the dev
mailing list