[go: nahoru, domu]

Skip to content

Commit

Permalink
Add OS_VISION
Browse files Browse the repository at this point in the history
  • Loading branch information
olilarkin committed Aug 18, 2024
1 parent 316ca59 commit d3a877a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion IPlug/IPlugOBJCPrefix.pch
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#ifdef __OBJC__
#include <TargetConditionals.h>
#if TARGET_OS_IOS == 1
#if TARGET_OS_IOS == 1 || TARGET_OS_VISION == 1
#import <UIKit/UIKit.h>
#else
#import <Cocoa/Cocoa.h>
Expand Down
2 changes: 2 additions & 0 deletions IPlug/IPlugPlatform.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#define OS_IOS
#elif TARGET_OS_MAC
#define OS_MAC
#elif TARGET_OS_VISION
#define OS_VISION
#endif
#elif defined __linux || defined __linux__ || defined linux
#define OS_LINUX
Expand Down

0 comments on commit d3a877a

Please sign in to comment.