From 9644362c928aa87008e1869bf3b069572fc5bf88 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 3 Apr 2010 16:11:56 +0000 Subject: [PATCH] remove some OS X cruft in io.cc git-svn-id: svn://localhost/ardour2/branches/3.0@6856 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/io.cc | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc index 98484c22de..b8747a5907 100644 --- a/libs/ardour/io.cc +++ b/libs/ardour/io.cc @@ -18,11 +18,12 @@ #include #include +#include + #include #include #include - #include #include @@ -47,18 +48,6 @@ #include "i18n.h" -#include - -/* - A bug in OS X's cmath that causes isnan() and isinf() to be - "undeclared". the following works around that -*/ - -#if defined(__APPLE__) && defined(__MACH__) -extern "C" int isnan (double); -extern "C" int isinf (double); -#endif - #define BLOCK_PROCESS_CALLBACK() Glib::Mutex::Lock em (AudioEngine::instance()->process_lock()) using namespace std;