diff examples/SpectralCentroid.cpp @ 290:c97e70ed5abc

* Doc updates, copyright updates, etc., in preparation for 2.1 release
author cannam
date Mon, 21 Sep 2009 09:33:05 +0000
parents 91574fc544db
children 7d59dd1ba5de
line wrap: on
line diff
--- a/examples/SpectralCentroid.cpp	Wed Sep 16 11:27:15 2009 +0000
+++ b/examples/SpectralCentroid.cpp	Mon Sep 21 09:33:05 2009 +0000
@@ -44,7 +44,8 @@
 #include <math.h>
 
 #ifdef __SUNPRO_CC
-#include <sunmath.h>
+#include <ieeefp.h>
+#define isinf(x) (!finite(x))
 #endif
 
 #ifdef WIN32