Closed craig-johnston closed 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
Since we don't officially support XBox One remove the check for PLATFORM_XBOXONE.