Move defintion of M_LN2 to include/share/compat.h.

This commit is contained in:
Erik de Castro Lopo
2013-09-07 19:19:36 +10:00
parent c532d34c11
commit ce6832bb62
3 changed files with 4 additions and 8 deletions

View File

@@ -174,6 +174,9 @@
#define flac_fstat fstat
#endif
#ifndef M_LN2
#define M_LN2 0.69314718055994530942
#endif
/* FLAC needs to compile and work correctly on systems with a norrmal ISO C99
* snprintf as well as Microsoft Visual Studio which has an non-standards