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 lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_dev.c eal/windows: add device event stubs 2021-07-02 19:03:03 +02:00
eal_file.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_hugepages.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_interrupts.c eal/windows: cleanup interrupt resources 2021-06-23 09:05:36 +02:00
eal_lcore.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_log.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_memalloc.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_memory.c eal/windows: cleanup virt2phys handle 2021-07-30 18:56:01 +02:00
eal_mp.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_thread.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_timer.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
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 lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
getopt.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
meson.build build: propagate Windows system dependencies to pkg-config 2021-09-14 15:58:34 +02:00
rte_thread.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00