Move M_PI definition to include/share/compat.h.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
This commit is contained in:
Erik de Castro Lopo
2013-09-27 03:05:02 +10:00
parent 733efde227
commit 31a79d7e9a
3 changed files with 5 additions and 11 deletions

View File

@@ -34,11 +34,6 @@
#include "FLAC/ordinals.h"
#include "share/compat.h"
#ifndef M_PI
/* math.h in VC++ doesn't seem to have this (how Microsoft is that?) */
#define M_PI 3.14159265358979323846
#endif
#if !defined _MSC_VER && !defined __MINGW32__
#define GET_RANDOM_BYTE (((unsigned)random()) & 0xff)
#else