summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-07-23 14:21:58 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-07-23 14:21:58 +0000
commitec0a1b88bb06dfffdf2046c74fd8e76cbb979299 (patch)
treee1e20ee14e889a0876feff8741354fb9cc40d3a9 /libs
parent23aa71c759be56769a1f985d0fcd54cc1b79919b (diff)
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
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/globals.cc4
1 files changed, 4 insertions, 0 deletions
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 <xmmintrin.h>
#endif
+#ifdef check
+#undef check /* stupid Apple and their un-namespaced, generic Carbon macros */
+#endif
+
#include <giomm.h>
#include <glibmm/fileutils.h>