[PATCH] remove some MSVC conditional compile to empty

Tyler Retzlaff roretzla at linux.microsoft.com
Thu Feb 15 23:20:17 CET 2024


Introduce a new macro __rte_attribute intended for internal use that
may be used when defining other __rte_xxx macros that should expand
empty on MSVC.

Use the new macro to clean up conditional compile in rte_common.h

Tyler Retzlaff (1):
  eal: provide rte attribute macro for GCC attribute

 lib/eal/include/rte_common.h | 77 ++++++++++++--------------------------------
 1 file changed, 21 insertions(+), 56 deletions(-)

-- 
1.8.3.1



More information about the dev mailing list