mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-18 21:13:02 +01:00
feat: add visionOS support (#323)
* feat: define BX_PLATFORM_VISIONOS * chore: add xros, xrsimulator toolchain support
This commit is contained in:
committed by
GitHub
parent
0b8bb71897
commit
f8dc7147b6
@@ -16,7 +16,7 @@
|
||||
|| BX_PLATFORM_WINRT \
|
||||
|| BX_PLATFORM_XBOXONE
|
||||
extern "C" __declspec(dllimport) void __stdcall OutputDebugStringA(const char* _str);
|
||||
#elif BX_PLATFORM_IOS || BX_PLATFORM_OSX
|
||||
#elif BX_PLATFORM_IOS || BX_PLATFORM_OSX || BX_PLATFORM_VISIONOS
|
||||
# if defined(__OBJC__)
|
||||
# import <Foundation/NSObjCRuntime.h>
|
||||
# else
|
||||
@@ -73,7 +73,8 @@ namespace bx
|
||||
|| BX_PLATFORM_XBOXONE
|
||||
OutputDebugStringA(_out);
|
||||
#elif BX_PLATFORM_IOS \
|
||||
|| BX_PLATFORM_OSX
|
||||
|| BX_PLATFORM_OSX \
|
||||
|| BX_PLATFORM_VISIONOS
|
||||
# if defined(__OBJC__)
|
||||
NSLog(@"%s", _out);
|
||||
# else
|
||||
|
||||
Reference in New Issue
Block a user