[MPlayer-dev-eng] [PATCH]Allow compilation with icc

Carl Eugen Hoyos cehoyos at rainbow.studorg.tuwien.ac.at
Thu Nov 13 00:50:22 CET 2008


Hi!

Attached patch is currectly necessary to compile mplayer with icc (10.1). 
I'll commit next week, Carl Eugen
-------------- next part --------------
Index: configure
===================================================================
--- configure	(Revision 27904)
+++ configure	(Arbeitskopie)
@@ -7767,6 +7767,8 @@
   cc_check -Wdeclaration-after-statement && CFLAGS="-Wdeclaration-after-statement $CFLAGS"
   cc_check -Wno-pointer-sign && CFLAGS="-Wno-pointer-sign $CFLAGS"
   cc_check -Wdisabled-optimization && CFLAGS="-Wdisabled-optimization $CFLAGS"
+else
+  CFLAGS="-D_ISOC99_SOURCE -D_BSD_SOURCE $CFLAGS"
 fi
 
 cc_check -mno-omit-leaf-frame-pointer && cflags_no_omit_leaf_frame_pointer="-mno-omit-leaf-frame-pointer"


More information about the MPlayer-dev-eng mailing list