diff --git a/gtk2_ardour/nag.cc b/gtk2_ardour/nag.cc index ece3ac3e2a..d239d850c7 100644 --- a/gtk2_ardour/nag.cc +++ b/gtk2_ardour/nag.cc @@ -192,15 +192,15 @@ NagScreen::open_uri (const char* uri) GError* err; return gtk_open_uri (0, uri, GDK_CURRENT_TIME, &err); #else -#ifndef __APPLE__ +#ifdef GTKOSX + extern bool cocoa_open_url (const char*); + return cocoa_open_url (uri); +#else std::string command = "xdg-open "; command += uri; spawn_command_line_async (command); return true; -#else - extern bool cocoa_open_url (const char*); - return cocoa_open_url (uri); #endif #endif } diff --git a/gtk2_ardour/tempo_lines.h b/gtk2_ardour/tempo_lines.h index 83c71849c2..d5040bd90f 100644 --- a/gtk2_ardour/tempo_lines.h +++ b/gtk2_ardour/tempo_lines.h @@ -27,7 +27,7 @@ #include "simpleline.h" typedef boost::fast_pool_allocator< - std::pair, + std::pair, boost::default_user_allocator_new_delete, boost::details::pool::null_mutex, 8192>