[vlc-devel] [PATCH 1/3] configure: set POSIX and XPG variables up correctly on Solaris

Sean McGovern gseanmcg at gmail.com
Tue Apr 19 01:10:28 CEST 2016


---
 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
-- 
1.7.9.2



More information about the vlc-devel mailing list