From d068d05aa514f9b1c32fd489f2e1e6a45da1f70f Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 5 Oct 2020 14:01:08 -0400 Subject: [PATCH] url: Make sure Haiku's C++ implementation is flagged as 'extern "C"' --- src/misc/haiku/SDL_sysurl.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/misc/haiku/SDL_sysurl.cc b/src/misc/haiku/SDL_sysurl.cc index 150028dd5..72039a8e5 100644 --- a/src/misc/haiku/SDL_sysurl.cc +++ b/src/misc/haiku/SDL_sysurl.cc @@ -23,6 +23,8 @@ #include "SDL_error.h" #include +extern "C" { int SDL_SYS_OpenURL(const char *url); } + int SDL_SYS_OpenURL(const char *url) {