Skip to content

Commit 21f1a42

Browse files
committed
[Foundation] Rename swift_errorBridgingInfo so it doesn't conflict with pre-stable ABI Swift
Fixes rdar://problem/47651565
1 parent d81c3d2 commit 21f1a42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/SDK/Foundation/NSError.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ namespace swift {
2121

2222
/// The name of the symbol that ErrorObject.mm will look up using dlsym. It uses
2323
/// this to locate various items related to Error bridging to NS/CFError.
24-
#define ERROR_BRIDGING_SYMBOL_NAME swift_errorBridgingInfo
25-
#define ERROR_BRIDGING_SYMBOL_NAME_STRING "swift_errorBridgingInfo"
24+
#define ERROR_BRIDGING_SYMBOL_NAME swift_errorBridgingInfo_
25+
#define ERROR_BRIDGING_SYMBOL_NAME_STRING "swift_errorBridgingInfo_"
2626

2727
/// The items that ErrorObject.mm needs for bridging. The
2828
/// ERROR_BRIDGING_SYMBOL_NAME symbol will contain an instance of this struct.

0 commit comments

Comments
 (0)