Re: [dpdk-dev] [PATCH v8 3/4] net: work around s_addr macro on Windows

2021-04-08 Thread Olivier Matz
On Thu, Apr 08, 2021 at 01:22:48AM +0300, Dmitry Kozlyuk wrote: > Windows Sockets headers contain `#define s_addr S_un.S_addr`, which > conflicts with definition of `s_addr` field of `struct rte_ether_hdr`. > Prieviously `s_addr` was undefined in , which had been > breaking access to `s_addr` field

[dpdk-dev] [PATCH v8 3/4] net: work around s_addr macro on Windows

2021-04-07 Thread Dmitry Kozlyuk
Windows Sockets headers contain `#define s_addr S_un.S_addr`, which conflicts with definition of `s_addr` field of `struct rte_ether_hdr`. Prieviously `s_addr` was undefined in , which had been breaking access to `s_addr` field of `struct in_addr`, so some DPDK and Windows headers could not be incl