From 04f532cbafb61361711acb8d3f327eabf2068c44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 22 Feb 2012 11:26:39 +0000 Subject: fixes to make it compile on MSVC svn path=/trunk/externals/iem/iemmatrix/; revision=16023 --- src/iemmatrix.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/iemmatrix.h') 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 #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 -- cgit v1.2.1