Skip to content

Commit

Permalink
[lldb] Fix deprecated defines in debugserver (XROS -> VISIONOS) (NFC)
Browse files Browse the repository at this point in the history
  • Loading branch information
JDevlieghere committed Nov 6, 2024
1 parent d08772b commit bd3a395
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lldb/tools/debugserver/source/MacOSX/MachProcess.mm
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@
#define PLATFORM_DRIVERKIT 10
#endif

#ifndef PLATFORM_XROS
#define PLATFORM_XROS 11
#ifndef PLATFORM_VISIONOS
#define PLATFORM_VISIONOS 11
#endif

#ifndef PLATFORM_XR_SIMULATOR
#define PLATFORM_XR_SIMULATOR 12
#ifndef PLATFORM_VISIONOSSIMULATOR
#define PLATFORM_VISIONOSSIMULATOR 12
#endif

#ifdef WITH_SPRINGBOARD
Expand Down Expand Up @@ -756,9 +756,9 @@ static bool FBSAddEventDataToOptions(NSMutableDictionary *options,
return "bridgeos";
case PLATFORM_DRIVERKIT:
return "driverkit";
case PLATFORM_XROS:
case PLATFORM_VISIONOS:
return "xros";
case PLATFORM_XR_SIMULATOR:
case PLATFORM_VISIONOSSIMULATOR:
return "xrossimulator";
default:
DNBLogError("Unknown platform %u found for one binary", platform);
Expand Down

0 comments on commit bd3a395

Please sign in to comment.