fix missing symbol on OS X
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 7 Jan 2016 15:39:44 +0000 (10:39 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 7 Jan 2016 15:40:08 +0000 (10:40 -0500)
libs/backends/jack/weak_libjack.h

index 0f98de3e513372c79627d755f537a91444112dff..c171a23c9c2df29b8db7f5a3101760fcc74b4108 100644 (file)
@@ -195,7 +195,13 @@ int have_libjack(void);
 #endif
 
 // prototype for function currently only available in jack1 headers
-int jack_port_rename (jack_client_t* client, jack_port_t *port, const char *port_name);
+#ifdef __cplusplus
+extern "C" {
+#endif
+        int jack_port_rename (jack_client_t* client, jack_port_t *port, const char *port_name);
+#ifdef __cplusplus
+}
+#endif
 
 #ifdef USE_WEAK_JACK