summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/utils.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-11-13 05:14:48 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-11-13 05:14:48 +0000
commitb85b4d9e54caef0585d308ef3bffee21d0e5ae56 (patch)
treea1ebeec149a57be4589ad6cabcd26c597703407c /libs/ardour/ardour/utils.h
parent520bc1bed49720333eb1a2be3ea0f813ccaac182 (diff)
make ardour3 build and link on OS X (tiger, at least)
git-svn-id: svn://localhost/ardour2/branches/3.0@8018 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/utils.h')
-rw-r--r--libs/ardour/ardour/utils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/ardour/utils.h b/libs/ardour/ardour/utils.h
index 1eab554178..8c3145a28b 100644
--- a/libs/ardour/ardour/utils.h
+++ b/libs/ardour/ardour/utils.h
@@ -28,9 +28,9 @@
#include <string>
#include <cmath>
-#if defined(HAVE_COREAUDIO) || defined(HAVE_AUDIOUNITS)
+#if __APPLE__
#include <CoreFoundation/CoreFoundation.h>
-#endif
+#endif /* __APPLE__ */
bool string_is_affirmative (const std::string&);
@@ -107,9 +107,9 @@ float meter_falloff_to_db_per_sec (float);
const char* native_header_format_extension (ARDOUR::HeaderFormat, const ARDOUR::DataType& type);
bool matching_unsuffixed_filename_exists_in (const std::string& dir, const std::string& name);
-#if defined(HAVE_COREAUDIO) || defined(HAVE_AUDIOUNITS)
+#if __APPLE__
std::string CFStringRefToStdString(CFStringRef stringRef);
-#endif // HAVE_COREAUDIO
+#endif // __APPLE__
#endif /* __ardour_utils_h__ */