diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-09-27 03:05:02 +1000 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-09-27 03:05:06 +1000 |
commit | 31a79d7e9a59b02f7f35b9ec2fe5d2dc5a3730a4 (patch) | |
tree | cc636d62923bd40354d20f5fa8d0a486ddb6646b /include | |
parent | 733efde2270e8f77584902653ac4323cdde41245 (diff) | |
download | flac-31a79d7e9a59b02f7f35b9ec2fe5d2dc5a3730a4.tar.gz |
Move M_PI definition to include/share/compat.h.
Patch-from: lvqcl <lvqcl.mail@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/share/compat.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/share/compat.h b/include/share/compat.h index 6218b59b..bd4285bf 100644 --- a/include/share/compat.h +++ b/include/share/compat.h @@ -177,8 +177,11 @@ #ifndef M_LN2 #define M_LN2 0.69314718055994530942 #endif +#ifndef M_PI +#define M_PI 3.14159265358979323846 +#endif -/* FLAC needs to compile and work correctly on systems with a norrmal ISO C99 +/* FLAC needs to compile and work correctly on systems with a normal ISO C99 * snprintf as well as Microsoft Visual Studio which has an non-standards * conformant snprint_s function. * |