All compile errors on Mac fixed.

This commit is contained in:
Christoph Oelckers 2018-02-22 13:50:41 +01:00
commit 504d68e2f8
3 changed files with 8 additions and 6 deletions

View file

@ -285,6 +285,9 @@ Appendix :
w[] and ip[] are compatible with all routines.
*/
#include <math.h>
namespace TimidityPlus
{
void makewt(int nw, int *ip, float *w);
@ -656,7 +659,6 @@ void dfst(int n, float *a, float *t, int *ip, float *w)
/* -------- initializing routines -------- */
#include <math.h>
void makewt(int nw, int *ip, float *w)
{
@ -1348,4 +1350,4 @@ void dstsub(int n, float *a, int nc, float *c)
a[m] *= c[0];
}
}
}