[vlc-devel] [PATCH 1/3] configure: set POSIX and XPG variables up correctly on Solaris
Rémi Denis-Courmont
remi at remlab.net
Tue Apr 19 11:03:44 CEST 2016
Le 2016-04-19 01:10, Sean McGovern a écrit :
> ---
> configure.ac | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index 14b9c91..e958669 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -282,6 +282,9 @@ case "${host_os}" in
> ;;
> solaris*)
> SYS=solaris
> + AC_DEFINE([_POSIX_C_SOURCE], [200112L], [IEEE Std 1003.1.])
We use POSIX.2008 plus the atomic close-on-exec extensions. You can't
write thread-safe code with 2001, so there's no point even trying.
> + AC_DEFINE([_XOPEN_SOURCE], [600], [POSIX and XPG 6th edition])
This seems to conflict with the previous line.
> + AC_DEFINE([__EXTENSIONS__], [], [Enable additional Solaris
> networking APIs])
This is already set by configure.
> ;;
> hpux*)
> SYS=hpux
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list