eal/windows: support building with MinGW-w64
authorDmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Thu, 27 Feb 2020 04:25:33 +0000 (07:25 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 18 Mar 2020 00:20:08 +0000 (01:20 +0100)
commitf3874012c64542a4ec967be175608214ed9a7079
treee6352c5db08ac89e7aefa533cb68334feed07b82
parent78542ed2c7bf68ecc6ee294b1883fe08b6b852a3
eal/windows: support building with MinGW-w64

Disable bundled getopt implementation and GNU extensions shim when
building in GNU environment.

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Tested-by: William Tu <u9012063@gmail.com>
Tested-by: Pallavi Kadam <pallavi.kadam@intel.com>
Acked-by: Pallavi Kadam <pallavi.kadam@intel.com>
lib/librte_eal/meson.build
lib/librte_eal/windows/eal/eal.c
lib/librte_eal/windows/eal/include/getopt.h
lib/librte_eal/windows/eal/include/rte_os.h