mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
Move M_PI definition to include/share/compat.h.
Patch-from: lvqcl <lvqcl.mail@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user