Index: webrtc/base/objc/RTCSSLAdapter.h |
diff --git a/webrtc/base/objc/RTCSSLAdapter.h b/webrtc/base/objc/RTCSSLAdapter.h |
index 11ac8af08ab36c80891ebd96a33297d189e5441c..60d232a2e1eaf2f60cd4dcf2766c54da97153882 100644 |
--- a/webrtc/base/objc/RTCSSLAdapter.h |
+++ b/webrtc/base/objc/RTCSSLAdapter.h |
@@ -14,5 +14,10 @@ |
* Initialize and clean up the SSL library. Failure is fatal. These call the |
* corresponding functions in webrtc/base/ssladapter.h. |
*/ |
+#if defined(__cplusplus) |
tkchin_webrtc
2016/02/20 00:17:32
add something to the prefix header or separate mac
hjon_webrtc
2016/02/22 23:03:06
Done.
|
+extern "C" BOOL RTCInitializeSSL(); |
+extern "C" BOOL RTCCleanupSSL(); |
+#else |
BOOL RTCInitializeSSL(); |
BOOL RTCCleanupSSL(); |
+#endif |