Update of /cvsroot/pure-data/externals/iem/iemmatrix/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23919
Modified Files: mtx_binops.c Log Message: on __APPLE__ there is no such thing as "powf"; use "static inline" for that
Index: mtx_binops.c =================================================================== RCS file: /cvsroot/pure-data/externals/iem/iemmatrix/src/mtx_binops.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mtx_binops.c 12 Apr 2005 09:01:36 -0000 1.3 --- mtx_binops.c 13 Apr 2005 09:18:09 -0000 1.4 *************** *** 653,658 **** }
- /* mtx_pow */ static t_class *mtx_powelement_class, *mtx_powscalar_class;
--- 653,665 ---- }
/* mtx_pow */ + #ifdef __APPLE__ + /* there is no such thing like powf on apple... */ + static inline float powf (float v, float p) + { + return (float) pow((double)v, (double) p); + } + #endif /* __APPLE__ */ + static t_class *mtx_powelement_class, *mtx_powscalar_class;