Skip to content

Commit d2f2bd0

Browse files
authored
Merge pull request #9530 from swiftlang/vision-os-defines
[lldb] Fix deprecated defines in debugserver (XROS -> VISIONOS) (NFC)
2 parents ce954d9 + 5bf4ae9 commit d2f2bd0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lldb/tools/debugserver/source/MacOSX/MachProcess.mm

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@
7272
#define PLATFORM_DRIVERKIT 10
7373
#endif
7474

75-
#ifndef PLATFORM_XROS
76-
#define PLATFORM_XROS 11
75+
#ifndef PLATFORM_VISIONOS
76+
#define PLATFORM_VISIONOS 11
7777
#endif
7878

79-
#ifndef PLATFORM_XR_SIMULATOR
80-
#define PLATFORM_XR_SIMULATOR 12
79+
#ifndef PLATFORM_VISIONOSSIMULATOR
80+
#define PLATFORM_VISIONOSSIMULATOR 12
8181
#endif
8282

8383
#ifdef WITH_SPRINGBOARD
@@ -756,9 +756,9 @@ static bool FBSAddEventDataToOptions(NSMutableDictionary *options,
756756
return "bridgeos";
757757
case PLATFORM_DRIVERKIT:
758758
return "driverkit";
759-
case PLATFORM_XROS:
759+
case PLATFORM_VISIONOS:
760760
return "xros";
761-
case PLATFORM_XR_SIMULATOR:
761+
case PLATFORM_VISIONOSSIMULATOR:
762762
return "xrossimulator";
763763
default:
764764
DNBLogError("Unknown platform %u found for one binary", platform);

0 commit comments

Comments
 (0)