changeset 28445:c6cef3c6768f

Give _XOPEN_SOURCE #define an explicit 600 value. Fixes build on Open Solaris. patch by Imran Syed, freakabcd gmail com
author diego
date Sat, 07 Feb 2009 17:34:45 +0000
parents bffc31262b0e
children 7681eab10aea
files configure libmpcodecs/ad_hwac3.c libmpcodecs/ad_liba52.c
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Feb 07 15:40:07 2009 +0000
+++ b/configure	Sat Feb 07 17:34:45 2009 +0000
@@ -3578,7 +3578,7 @@
 
 echocheck "swab()"
 cat > $TMPC << EOF
-#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE 600
 #include <unistd.h>
 int main(void) { swab(0, 0, 0); return 0; }
 EOF
--- a/libmpcodecs/ad_hwac3.c	Sat Feb 07 15:40:07 2009 +0000
+++ b/libmpcodecs/ad_hwac3.c	Sat Feb 07 17:34:45 2009 +0000
@@ -5,7 +5,7 @@
    (see http://www.dtek.chalmers.se/~dvd/)
 */
 
-#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE 600
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
--- a/libmpcodecs/ad_liba52.c	Sat Feb 07 15:40:07 2009 +0000
+++ b/libmpcodecs/ad_liba52.c	Sat Feb 07 17:34:45 2009 +0000
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE 600
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>