changeset 1256:a738eae695cc

#ifndef M_PI and M_SQRT2 added while fearing from redefining :)
author alex
date Mon, 02 Jul 2001 19:31:45 +0000
parents 94f2853ec6f4
children ea50eedd55d2
files mp3lib/mpg123.h
diffstat 1 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mp3lib/mpg123.h	Mon Jul 02 19:25:34 2001 +0000
+++ b/mp3lib/mpg123.h	Mon Jul 02 19:31:45 2001 +0000
@@ -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 */