diff --git a/Source/Engine/Platform/Types.h b/Source/Engine/Platform/Types.h index 288b4c0bd..06e68dcc0 100644 --- a/Source/Engine/Platform/Types.h +++ b/Source/Engine/Platform/Types.h @@ -224,8 +224,8 @@ class SwitchWindow; typedef SwitchWindow Window; class SwitchNetwork; typedef SwitchNetwork Network; -class UserBase; -typedef UserBase User; +class SwitchUser; +typedef SwitchUser User; #elif PLATFORM_MAC diff --git a/Source/Engine/Platform/User.h b/Source/Engine/Platform/User.h index 925a62b2e..c8a4a6512 100644 --- a/Source/Engine/Platform/User.h +++ b/Source/Engine/Platform/User.h @@ -4,6 +4,8 @@ #if PLATFORM_XBOX_ONE || PLATFORM_XBOX_SCARLETT #include "GDK/GDKUser.h" +#elif PLATFORM_SWITCH +#include "Platforms/Switch/Engine/Platform/SwitchUser.h" #elif PLATFORM_PS4 #include "Platforms/PS4/Engine/Platform/PS4User.h" #elif PLATFORM_PS5