Re: [dpdk-dev] [PATCH v4] doc: announce API changes for Windows compatibility

2021-08-02 Thread Thomas Monjalon
21/07/2021 21:55, Dmitry Kozlyuk: > Windows headers define `s_addr`, `min`, and `max` as macros. > If DPDK headers are included after Windows ones, DPDK structure > definitions containing fields with these names get broken (example 1), > as well as any usage of such fields (example 2). If DPDK head

[dpdk-dev] [PATCH v4] doc: announce API changes for Windows compatibility

2021-07-21 Thread Dmitry Kozlyuk
Windows headers define `s_addr`, `min`, and `max` as macros. If DPDK headers are included after Windows ones, DPDK structure definitions containing fields with these names get broken (example 1), as well as any usage of such fields (example 2). If DPDK headers undefined these macros, it could break