[MPlayer-cvslog] r28480 - in trunk: configure libmpcodecs/ad_hwac3.c libmpcodecs/ad_liba52.c

diego subversion at mplayerhq.hu
Sat Feb 7 18:34:45 CET 2009


Author: diego
Date: Sat Feb  7 18:34:45 2009
New Revision: 28480

Log:
Give _XOPEN_SOURCE #define an explicit 600 value. Fixes build on Open Solaris.
patch by Imran Syed, freakabcd gmail com

Modified:
   trunk/configure
   trunk/libmpcodecs/ad_hwac3.c
   trunk/libmpcodecs/ad_liba52.c

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sat Feb  7 16:40:07 2009	(r28479)
+++ trunk/configure	Sat Feb  7 18:34:45 2009	(r28480)
@@ -3578,7 +3578,7 @@ echores "$_vsscanf"
 
 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

Modified: trunk/libmpcodecs/ad_hwac3.c
==============================================================================
--- trunk/libmpcodecs/ad_hwac3.c	Sat Feb  7 16:40:07 2009	(r28479)
+++ trunk/libmpcodecs/ad_hwac3.c	Sat Feb  7 18:34:45 2009	(r28480)
@@ -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>

Modified: trunk/libmpcodecs/ad_liba52.c
==============================================================================
--- trunk/libmpcodecs/ad_liba52.c	Sat Feb  7 16:40:07 2009	(r28479)
+++ trunk/libmpcodecs/ad_liba52.c	Sat Feb  7 18:34:45 2009	(r28480)
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE 600
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>



More information about the MPlayer-cvslog mailing list