Allow export of Obj-C symbols without C++ ones.
This is useful when building the .framework which doesn't need to export C++ symbols. Bug: webrtc:12408 Change-Id: Ied775811a72a06b9ad678c9fb549bca286dd7f37 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/227089 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34613}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
8e70299dd9
commit
5f0784563c
@ -11,13 +11,13 @@
|
||||
#ifndef SDK_OBJC_BASE_RTCMACROS_H_
|
||||
#define SDK_OBJC_BASE_RTCMACROS_H_
|
||||
|
||||
#ifdef WEBRTC_ENABLE_SYMBOL_EXPORT
|
||||
#ifdef WEBRTC_ENABLE_OBJC_SYMBOL_EXPORT
|
||||
|
||||
#if defined(WEBRTC_LIBRARY_IMPL)
|
||||
#define RTC_OBJC_EXPORT __attribute__((visibility("default")))
|
||||
#endif
|
||||
|
||||
#endif // WEBRTC_ENABLE_SYMBOL_EXPORT
|
||||
#endif // WEBRTC_ENABLE_OBJC_SYMBOL_EXPORT
|
||||
|
||||
#ifndef RTC_OBJC_EXPORT
|
||||
#define RTC_OBJC_EXPORT
|
||||
|
||||
Reference in New Issue
Block a user