diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-07-02 19:31:45 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-07-02 19:31:45 +0000 |
commit | 741fc312ee0f08a8936c932eec4e58fab7843c55 (patch) | |
tree | 477429c241dd0d87ca88a27453f9bffcc7cb2dbf /mp3lib/mpg123.h | |
parent | 76c3dc2348b13cee192cb71df784aff65600fe0a (diff) | |
download | mpv-741fc312ee0f08a8936c932eec4e58fab7843c55.tar.bz2 mpv-741fc312ee0f08a8936c932eec4e58fab7843c55.tar.xz |
#ifndef M_PI and M_SQRT2 added while fearing from redefining :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1257 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib/mpg123.h')
-rw-r--r-- | mp3lib/mpg123.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/mp3lib/mpg123.h b/mp3lib/mpg123.h index ff4fef3df8..4df63614fb 100644 --- a/mp3lib/mpg123.h +++ b/mp3lib/mpg123.h @@ -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 */ |