mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 20:56:28 +01:00
fix OSX open URL in browser
This commit is contained in:
parent
da6062a0b9
commit
78218e8c07
1 changed files with 4 additions and 1 deletions
|
|
@ -28,11 +28,14 @@
|
||||||
#include "pbd/epa.h"
|
#include "pbd/epa.h"
|
||||||
#include "pbd/openuri.h"
|
#include "pbd/openuri.h"
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
extern bool cocoa_open_url (const char*);
|
||||||
|
#endif
|
||||||
|
|
||||||
bool
|
bool
|
||||||
PBD::open_uri (const char* uri)
|
PBD::open_uri (const char* uri)
|
||||||
{
|
{
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
extern bool cocoa_open_url (const char*);
|
|
||||||
return cocoa_open_url (uri);
|
return cocoa_open_url (uri);
|
||||||
#else
|
#else
|
||||||
EnvironmentalProtectionAgency* global_epa = EnvironmentalProtectionAgency::get_global_epa ();
|
EnvironmentalProtectionAgency* global_epa = EnvironmentalProtectionAgency::get_global_epa ();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue