[vlc-commits] configure: set POSIX and XPG variables up correctly on Solaris

Sean McGovern git at videolan.org
Tue Apr 19 11:00:57 CEST 2016


vlc | branch: master | Sean McGovern <gseanmcg at gmail.com> | Mon Apr 18 19:10:28 2016 -0400| [fe6e9e78becfcc12bd93f38c47921becf5eb9a3f] | committer: Jean-Baptiste Kempf

configure: set POSIX and XPG variables up correctly on Solaris

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fe6e9e78becfcc12bd93f38c47921becf5eb9a3f
---

 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.])
+    AC_DEFINE([_XOPEN_SOURCE], [600], [POSIX and XPG 6th edition])
+    AC_DEFINE([__EXTENSIONS__], [], [Enable additional Solaris networking APIs])
     ;;
   hpux*)
     SYS=hpux



More information about the vlc-commits mailing list