[Mplayer-cvslog] CVS: main/mp3lib mpg123.h,1.4,1.5

Alex Beregszaszi alex at mplayerhq.banki.hu
Mon Jul 2 21:31:47 CEST 2001


Update of /cvsroot/mplayer/main/mp3lib
In directory mplayerhq:/var/tmp.root/cvs-serv23329

Modified Files:
	mpg123.h 
Log Message:
#ifndef M_PI and M_SQRT2 added while fearing from redefining :)

Index: mpg123.h
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/mpg123.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- mpg123.h	29 Jun 2001 17:53:53 -0000	1.4
+++ mpg123.h	2 Jul 2001 19:31:45 -0000	1.5
@@ -5,10 +5,14 @@
 
 #include "../config.h"
 
-# define M_PI       3.14159265358979323846
-# define M_SQRT2        1.41421356237309504880
-# define REAL_IS_FLOAT
-# define NEW_DCT9
+#ifndef M_PI
+#define M_PI		3.141592653589793238462
+#endif
+#ifndef M_SQRT2
+#define M_SQRT2		1.414213562373095048802
+#endif
+#define REAL_IS_FLOAT
+#define NEW_DCT9
 
 #undef MPG123_REMOTE           /* Get rid of this stuff for Win32 */
 


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list