finished merge of cairocanvas with windows and windows+cc branches
[ardour.git] / gtk2_ardour / automation_line.cc
index 2551b40c753abbb330705c1134349481aa3ff652..9fe1e0fa19cf61beee1b2fe81757dd9d37dfe431 100644 (file)
 
 #ifdef COMPILER_MSVC
 #include <float.h>
-
-// 'std::isinf()' and 'std::isnan()' are not available in MSVC.
+/* isinf() & isnan() are C99 standards, which older MSVC doesn't provide */
 #define isinf(val) !((bool)_finite((double)val))
 #define isnan(val) (bool)_isnan((double)val)
-#else
-using std::isnan;
-using std::isinf;
 #endif
 
 #include <cmath>