diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2012-02-22 11:26:39 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2012-02-22 11:26:39 +0000 |
commit | 04f532cbafb61361711acb8d3f327eabf2068c44 (patch) | |
tree | 9b9e725115bd948d508fb8d04547e0bb1e762d5b /src/iemmatrix.h | |
parent | 745d3854c794984825a4bfe7645f52e901b56c1c (diff) |
fixes to make it compile on MSVC
svn path=/trunk/externals/iem/iemmatrix/; revision=16023
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> |