diff options
Diffstat (limited to 'src/iemmatrix.h')
-rw-r--r-- | src/iemmatrix.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/iemmatrix.h b/src/iemmatrix.h index d03b611..87f68d2 100644 --- a/src/iemmatrix.h +++ b/src/iemmatrix.h @@ -53,6 +53,9 @@ #include "m_pd.h" +#ifndef M_PI + +#endif #ifdef HAVE_CONFIG_H # include "config.h" @@ -71,11 +74,19 @@ #include <memory.h> #ifdef __WIN32__ +#ifndef fabsf # define fabsf fabs +#endif +#ifndef sqrtf # define sqrtf sqrt +#endif +#ifndef powf # define powf pow +#endif +#ifndef atanf # define atanf atan #endif +#endif #ifdef __APPLE__ # include <AvailabilityMacros.h> |