Provide a fallback implementation of [v]asprintf()
authorAdrian Perez de Castro <aperez@igalia.com>
Mon, 5 Aug 2019 13:18:05 +0000 (16:18 +0300)
committerRan Benita <ran@unusedvar.com>
Fri, 27 Dec 2019 10:45:34 +0000 (12:45 +0200)
commitbdff8ebe3c0be4f55281a3ec7d70be753e2456c0
tree5ae3022284b3d075b5049541e3dcf9cc63e50474
parent93a13050d64cbd98168df6a4257cf84a7139542f
Provide a fallback implementation of [v]asprintf()

Some environments (e.g. Windows + MSVC) do not provide asprintf() or
vasprintf(). This tries to detect their presence, and provides suitable
fallback implementations when not available.
meson.build
src/utils.c
src/utils.h