Skip to content

Commit e1518ea

Browse files
authored
Merge pull request #40298 from compnerd/there-cannot-be-only-one
SIL: support non-clang compilers again
2 parents 3074d0a + 6785663 commit e1518ea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/swift/SIL/BridgedSwiftObject.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020

2121
#include <stdint.h>
2222

23+
#if !defined(__has_feature)
24+
#define __has_feature(feature) 0
25+
#endif
26+
2327
// TODO: These macro definitions are duplicated in Visibility.h. Move
2428
// them to a single file if we find a location that both Visibility.h and
2529
// BridgedSwiftObject.h can import.

0 commit comments

Comments
 (0)