diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 215ec5a1..e755a97f 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -44,6 +44,10 @@ static void OpenWebpage( const char* url ) { #ifdef _WIN32 ShellExecuteA( nullptr, nullptr, url, nullptr, nullptr, 0 ); +#elif defined __APPLE__ + char buf[1024]; + sprintf( buf, "open %s", url ); + system( buf ); #else char buf[1024]; sprintf( buf, "xdg-open %s", url );