From b85b4d9e54caef0585d308ef3bffee21d0e5ae56 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 13 Nov 2010 05:14:48 +0000 Subject: 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 --- libs/ardour/ardour/utils.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libs/ardour/ardour/utils.h') 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 #include -#if defined(HAVE_COREAUDIO) || defined(HAVE_AUDIOUNITS) +#if __APPLE__ #include -#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__ */ -- cgit v1.2.3