[vlc-devel] [PATCH] xcb_window: Use sysconf to discover HOST_NAME_MAX.

Rémi Denis-Courmont remi at remlab.net
Sat Jul 11 12:19:02 CEST 2009


Le vendredi 10 juillet 2009 16:04:42 Alexis Ballier, vous avez écrit :
> POSIX does not mandate HOST_NAME_MAX to be defined and FreeBSD does not
> define it to encourage people to use sysconf() for discovering its value.
> If sysconf fails, fallback to _POSIX_HOST_NAME_MAX.

I merged it, but I would prefer patches that compile out of the box...

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list