From e5e302865e0b7dd7eb9c7cf6f022855ca5b152b7 Mon Sep 17 00:00:00 2001 From: Codecat Date: Fri, 13 Oct 2017 16:34:30 +0200 Subject: [PATCH] Add NX platform name (#165) * Add NX platform name * NX platform is not none --- include/bx/platform.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/bx/platform.h b/include/bx/platform.h index 810fbf7..5356378 100644 --- a/include/bx/platform.h +++ b/include/bx/platform.h @@ -280,6 +280,7 @@ || BX_PLATFORM_WINDOWS \ || BX_PLATFORM_WINRT \ || BX_PLATFORM_XBOXONE \ + || BX_PLATFORM_NX \ ) #if BX_COMPILER_GCC @@ -342,6 +343,8 @@ # define BX_PLATFORM_NAME "WinRT" #elif BX_PLATFORM_XBOXONE # define BX_PLATFORM_NAME "Xbox One" +#elif BX_PLATFORM_NX +# define BX_PLATFORM_NAME "NX" #elif BX_PLATFORM_NONE # define BX_PLATFORM_NAME "None" #else