# HG changeset patch # User cannam # Date 1144835827 0 # Node ID 08ee18123f5a38b6ec20da67ea1b11ca23d83eaf # Parent b4043af4227868b6ba35bc58c998ae44aec9c7f4 * Build fixes for OS/X and Windows diff -r b4043af42278 -r 08ee18123f5a examples/SpectralCentroid.cpp --- a/examples/SpectralCentroid.cpp Mon Apr 10 10:31:19 2006 +0000 +++ b/examples/SpectralCentroid.cpp Wed Apr 12 09:57:07 2006 +0000 @@ -160,7 +160,7 @@ if (denom != 0.0) { float centroidLin = float(numLin / denom); - float centroidLog = exp10f(float(numLog / denom)); + float centroidLog = powf(10, float(numLog / denom)); Feature feature; feature.hasTimestamp = false; feature.values.push_back(centroidLog); diff -r b4043af42278 -r 08ee18123f5a host/simplehost.cpp --- a/host/simplehost.cpp Mon Apr 10 10:31:19 2006 +0000 +++ b/host/simplehost.cpp Wed Apr 12 09:57:07 2006 +0000 @@ -43,6 +43,8 @@ #include "system.h" +#include + using std::cout; using std::cerr; using std::endl;