Skip to content

Commit 786f6f4

Browse files
Lance Parkerlorentey
authored andcommitted
TARGET_IPHONE_SIMULATOR -> TARGET_OS_SIMULATOR
(cherry picked from commit b3a0841)
1 parent 44a88d4 commit 786f6f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/stubs/Availability.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
static NSDictionary *systemVersionDictionaryFromPlist() {
3131
NSString *plistPath = @"/System/Library/CoreServices/SystemVersion.plist";
3232

33-
#if TARGET_IPHONE_SIMULATOR
33+
#if TARGET_OS_SIMULATOR
3434
// When targeting the iOS simulator, look in a special location so we do
3535
// not pick up the host OS version.
3636
const char *simulatorRoot = getenv("IPHONE_SIMULATOR_ROOT");

0 commit comments

Comments
 (0)