| 222 | |
| 223 | #if defined(__EMSCRIPTEN__) |
| 224 | void OSOpenBrowser(const std::string &url) |
| 225 | { |
| 226 | /* Implementation in pre.js */ |
| 227 | EM_ASM({ if (window["openttd_open_url"]) window.openttd_open_url($0, $1) }, url.data(), url.size()); |
| 228 | } |
| 229 | #elif !defined( __APPLE__) |
| 230 | void OSOpenBrowser(const std::string &url) |
| 231 | { |
no test coverage detected