13
0

remove some OS X cruft in io.cc

git-svn-id: svn://localhost/ardour2/branches/3.0@6856 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-04-03 16:11:56 +00:00
parent 7151d28ae3
commit 9644362c92

View File

@ -18,11 +18,12 @@
#include <fstream>
#include <algorithm>
#include <cmath>
#include <unistd.h>
#include <locale.h>
#include <errno.h>
#include <glibmm.h>
#include <glibmm/thread.h>
@ -47,18 +48,6 @@
#include "i18n.h"
#include <cmath>
/*
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;