projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OSC: Add /path/band extension for eq_* bands
[ardour.git]
/
gtk2_ardour
/
fix_carbon.h
diff --git
a/gtk2_ardour/fix_carbon.h
b/gtk2_ardour/fix_carbon.h
index 62ff0f3e4ed5fadcd6f41a3a5f4bf325c7c1df0d..d33fbd4faaabfe72a5a22c68e28156a72c333302 100644
(file)
--- a/
gtk2_ardour/fix_carbon.h
+++ b/
gtk2_ardour/fix_carbon.h
@@
-25,7
+25,11
@@
/* an awful hack to stop Carbon #defines from messing with other code
*/
/* an awful hack to stop Carbon #defines from messing with other code
*/
-#include "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h"
+#ifdef CARBON_FLAT_HEADERS
+#include "MacTypes.h"
+#else
+#include "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h"
+#endif
#undef Style
#undef Fixed
#undef Yes
#undef Style
#undef Fixed
#undef Yes