[MPlayer-dev-eng] [PATCH] gcc 2.95 needs blanks around == in #if

Martin Olschewski olschewski at zpr.uni-koeln.de
Mon Sep 2 15:28:30 CEST 2002


Hello,

mplayer from current cvs does not compile any more with gcc 2.95-4.
The check for the version of MPDVDKIT in libmpdemux/stream.h fails
because there are no blanks around the "==".  As far as I know
this behavier of gcc is standard conforming, so I added the missing
blanks.

Have fun,

  Martin

-- 
Dipl.-Inform. Martin Olschewski 	Center for Applied Computer Science
Email: olschewski at zpr.uni-koeln.de	University of Cologne
Tel.:  ++49/221/470-6018		Weyertal 80
Fax.:  ++49/221/470-5160		D-50931 K\"oln
-------------- next part --------------
Index: libmpdemux/stream.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/stream.h,v
retrieving revision 1.45
diff -u -r1.45 stream.h
--- libmpdemux/stream.h	31 Aug 2002 14:01:46 -0000	1.45
+++ libmpdemux/stream.h	2 Sep 2002 13:41:25 -0000
@@ -211,7 +211,7 @@
 #ifdef USE_DVDREAD
 
 #ifdef USE_MPDVDKIT
-#if USE_MPDVDKIT==2
+#if USE_MPDVDKIT == 2
 #include "../libmpdvdkit2/dvd_reader.h"
 #include "../libmpdvdkit2/ifo_types.h"
 #include "../libmpdvdkit2/ifo_read.h"


More information about the MPlayer-dev-eng mailing list