|
@@ -14,7 +14,7 @@
|
|
|
#elif BX_PLATFORM_ANDROID
|
|
#elif BX_PLATFORM_ANDROID
|
|
|
# include <android/log.h>
|
|
# include <android/log.h>
|
|
|
#elif BX_PLATFORM_WINDOWS \
|
|
#elif BX_PLATFORM_WINDOWS \
|
|
|
- || BX_PLATFORM_WINRT \
|
|
|
|
|
|
|
+ || BX_PLATFORM_WINRT \
|
|
|
|| BX_PLATFORM_XBOXONE
|
|
|| BX_PLATFORM_XBOXONE
|
|
|
extern "C" __declspec(dllimport) void __stdcall OutputDebugStringA(const char* _str);
|
|
extern "C" __declspec(dllimport) void __stdcall OutputDebugStringA(const char* _str);
|
|
|
#elif BX_PLATFORM_IOS || BX_PLATFORM_OSX
|
|
#elif BX_PLATFORM_IOS || BX_PLATFORM_OSX
|
|
@@ -62,7 +62,8 @@ namespace bx
|
|
|
|| BX_PLATFORM_WINRT \
|
|
|| BX_PLATFORM_WINRT \
|
|
|
|| BX_PLATFORM_XBOXONE
|
|
|| BX_PLATFORM_XBOXONE
|
|
|
OutputDebugStringA(_out);
|
|
OutputDebugStringA(_out);
|
|
|
-#elif BX_PLATFORM_IOS || BX_PLATFORM_OSX
|
|
|
|
|
|
|
+#elif BX_PLATFORM_IOS \
|
|
|
|
|
+ || BX_PLATFORM_OSX
|
|
|
# if defined(__OBJC__)
|
|
# if defined(__OBJC__)
|
|
|
NSLog(@"%s", _out);
|
|
NSLog(@"%s", _out);
|
|
|
# else
|
|
# else
|