Skip to content

Commit 08c9df9

Browse files
committed
Add define for Simulator for future work to make hgiMetal work on Simulators
1 parent 47da75e commit 08c9df9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pxr/base/arch/defines.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
#else
2525
#define ARCH_OS_OSX
2626
#endif
27+
#if TARGET_OS_SIMULATOR
28+
#define ARCH_OS_SIMULATOR
29+
#endif
2730
#elif defined(_WIN32) || defined(_WIN64)
2831
#define ARCH_OS_WINDOWS
2932
#endif

0 commit comments

Comments
 (0)