#define M_PI for MSVC6

This commit is contained in:
Josh Coalson
2006-05-03 00:13:38 +00:00
parent 0abc735e13
commit fe3b8ecc95

View File

@@ -36,6 +36,11 @@
#ifndef FLAC__INTEGER_ONLY_LIBRARY
#ifndef M_PI
/* math.h in VC++ doesn't seem to have this (how Microsoft is that?) */
#define M_PI 3.14159265358979323846
#endif
void FLAC__window_bartlett(FLAC__real *window, const FLAC__int32 L)
{