From ec0a1b88bb06dfffdf2046c74fd8e76cbb979299 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 23 Jul 2012 14:21:58 +0000 Subject: [PATCH] another fix for apple's absurd un-namespaced global Carbon macros like "check" git-svn-id: svn://localhost/ardour2/branches/3.0@13068 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/globals.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc index 8d7b0ae0f5..f336142075 100644 --- a/libs/ardour/globals.cc +++ b/libs/ardour/globals.cc @@ -45,6 +45,10 @@ #include #endif +#ifdef check +#undef check /* stupid Apple and their un-namespaced, generic Carbon macros */ +#endif + #include #include