File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 20
20
#include " swift/Runtime/EnvironmentVariables.h"
21
21
#include " swift/Threading/Once.h"
22
22
#include " swift/shims/RuntimeShims.h"
23
+ #include " swift/shims/Target.h"
23
24
#include < stdint.h>
24
25
25
26
// If this is an Apple OS, use the Apple binary compatibility rules
@@ -248,7 +249,7 @@ bool useLegacySwiftObjCHashing() {
248
249
#if BINARY_COMPATIBILITY_APPLE
249
250
return true ; // For now, legacy behavior on Apple OSes
250
251
#elif SWIFT_TARGET_OS_DARWIN
251
- return true ; // For now, legacy behavior on open-source builds for Apple OSes
252
+ return true ; // For now, use legacy behavior on open-source builds for Apple platforms
252
253
#else
253
254
return false ; // Always use the new behavior on non-Apple OSes
254
255
#endif
You can’t perform that action at this time.
0 commit comments