Le 2012-01-02 06:10, hpi a écrit :
> Rafaël Carré wrote:
>> this provide access to e.g. strdup in glibc
>> this also gives access to glibc extensions such as asprintf or getline
> 
> I'm not sure if we want to use any non-standard library functions... At
> least availability of those should be checked in configure and
> replacement versions provided when functions are not available.
> 
> There's already internal implementation of asprintf (str_printf()).

getline is in POSIX 2008, it can be made available by defining
(_POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 700) according to glibc
manpage.

I will send another patch which only defines one of those and check for
getline() presence.
_______________________________________________
libbluray-devel mailing list
[email protected]
http://mailman.videolan.org/listinfo/libbluray-devel

Reply via email to