numam-dpdk/lib/eal/windows
Tal Shnaiderman 826476bc70 eal/windows: fix debug build
When building DPDK on Windows in debug mode the following
warning appear:

warning: token pasting of ',' and __VA_ARGS__ is a GNU extension
[-Wgnu-zero-variadic-macro-arguments] #define open(path, flags, ...)
_open(path, flags, ##__VA_ARGS__)

Modify the 'open' macro to avoid it.

Fixes: 45d62067c2 ("eal: make OS shims internal")
Cc: stable@dpdk.org

Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
2021-09-23 19:16:27 +02:00
..
include eal/windows: fix debug build 2021-09-23 19:16:27 +02:00
eal_alarm.c eal/windows: check callback parameter of alarm functions 2021-07-22 22:06:27 +02:00
eal_debug.c
eal_dev.c eal/windows: add device event stubs 2021-07-02 19:03:03 +02:00
eal_file.c
eal_hugepages.c
eal_interrupts.c eal/windows: cleanup interrupt resources 2021-06-23 09:05:36 +02:00
eal_lcore.c
eal_log.c
eal_memalloc.c
eal_memory.c eal/windows: cleanup virt2phys handle 2021-07-30 18:56:01 +02:00
eal_mp.c
eal_thread.c
eal_timer.c
eal_windows.h eal/windows: cleanup virt2phys handle 2021-07-30 18:56:01 +02:00
eal.c eal/windows: cleanup virt2phys handle 2021-07-30 18:56:01 +02:00
fnmatch.c
getopt.c
meson.build build: propagate Windows system dependencies to pkg-config 2021-09-14 15:58:34 +02:00
rte_thread.c