url: Make sure Haiku's C++ implementation is flagged as 'extern "C"'

This commit is contained in:
Ryan C. Gordon 2020-10-05 14:01:08 -04:00
parent bf9fcb539a
commit d068d05aa5
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@
#include "SDL_error.h" #include "SDL_error.h"
#include <Url.h> #include <Url.h>
extern "C" { int SDL_SYS_OpenURL(const char *url); }
int int
SDL_SYS_OpenURL(const char *url) SDL_SYS_OpenURL(const char *url)
{ {