Re: [dpdk-dev] [PATCH v4 2/4] eal: add asprintf() internal wrapper
From: Lance Richardson <hidden>
Date: 2021-03-06 15:27:30
From: Lance Richardson <hidden>
Date: 2021-03-06 15:27:30
On Fri, Mar 5, 2021 at 7:05 PM Dmitry Kozlyuk [off-list ref] wrote:
POSIX asprintf() is unavailable on Windows.
AFAIK asprintf() is not a POSIX API, it is a GNU extension that has also been implemented in some BSDs.
Add eal_asprintf() wrapper for EAL internal use. On Windows it's a function, on Unix it's a macro for asprintf(). Signed-off-by: Dmitry Kozlyuk <redacted> Acked-by: Khoa To <redacted> ---