Skip to content

Commit

Permalink
Use alt_entry on visionOS
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=273653
rdar://127460508

Reviewed by Keith Miller.

* Source/WTF/wtf/PlatformEnable.h:

Canonical link: https://commits.webkit.org/278290@main
  • Loading branch information
Constellation committed May 2, 2024
1 parent 113d948 commit 0a74ff7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/WTF/wtf/PlatformEnable.h
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,8 @@
|| (PLATFORM(MACCATALYST) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 180000) \
|| (PLATFORM(IOS) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 180000) \
|| (PLATFORM(APPLETV) && __TV_OS_VERSION_MAX_ALLOWED >= 180000) \
|| (PLATFORM(WATCHOS) && __WATCH_OS_VERSION_MAX_ALLOWED >= 110000)
|| (PLATFORM(WATCHOS) && __WATCH_OS_VERSION_MAX_ALLOWED >= 110000) \
|| (PLATFORM(VISION) && __VISION_OS_VERSION_MAX_ALLOWED >= 20000)
// Linkers from older SDKs causes wrong linking. ref: rdar://96556827
#define ENABLE_OFFLINE_ASM_ALT_ENTRY 1
#endif
Expand Down

0 comments on commit 0a74ff7

Please sign in to comment.