Re: [dpdk-dev] [PATCH 4/5] ring: rename local variables for Windows compatibility

2021-09-15 Thread Honnappa Nagarahalli
> > Windows SDK headers define `max` macro which breaks the definitions of > `max` variable inside inline functions. Rename the variables to allow > inclusion > of both DPDK and Windows headers in the same file. Minor comment, typically we include the error message in the commit log. In this c

[dpdk-dev] [PATCH 4/5] ring: rename local variables for Windows compatibility

2021-09-15 Thread Dmitry Kozlyuk
Windows SDK headers define `max` macro which breaks the definitions of `max` variable inside inline functions. Rename the variables to allow inclusion of both DPDK and Windows headers in the same file. Signed-off-by: Dmitry Kozlyuk --- lib/ring/rte_ring_c11_pvt.h | 8 lib/ring/rte_