On Darwin _POSIX_C_SOURCE must be >= __DARWIN_C_FULL for asprintf to be enabled!
The if(NOT OS_DARWIN) check must be removed and proper patching for macOS needs to be done somewhere else... (To investigate...)
Unfortunately I don't even have time to patch this little thing...
All I know is, this patch is needed to allow use of Darwin specific functions such as asprintf
which ( I think is not covered by the POSIX_C_SOURCE 200809L )
See where I say:
The if(NOT OS_DARWIN) check must be removed and proper patching for macOS needs to be done somewhere else... (To investigate...)
Unfortunately I don't even have time to patch this little thing...
All I know is, this patch is needed to allow use of Darwin specific functions such as
asprintf
which ( I think is not covered by thePOSIX_C_SOURCE 200809L
)