millicast / millicast-player-unreal-engine-plugin

Millicast Player plugin for Unreal Engine
Other
19 stars 15 forks source link

Remove PLATFORM_XBOXONE #38

Closed craig-johnston closed 1 year ago

craig-johnston commented 1 year ago

Since we don't officially support XBox One remove the check for PLATFORM_XBOXONE.

craig-johnston commented 1 year ago

Alternatively if we want to keep this platform, then I'd suggest changing the code to be:


#ifndef PLATFORM_WINDOWS
#define PLATFORM_WINDOWS 0
#endif

#ifndef PLATFORM_XBOXONE
#define PLATFORM_XBOXONE 0
#endif

#ifndef PLATFORM_LINUX
#define PLATFORM_LINUX 0
#endif

#if PLATFORM_WINDOWS || PLATFORM_XBOXONE
#include "Windows/WindowsPlatformMisc.h"
#elif PLATFORM_LINUX
#include "Linux/LinuxPlatformMisc.h"
#else
#error At least one platform must be enabled
#endif