Use the following preprocessor definitions for Microsoft Game Development Kit (GDK) on XBOX code.
_GAMING_XBOX and WINAPI_FAMILY=WINAPI_FAMILY_GAMES. Developers who don’t use the Visual Studio IDE to build against the Microsoft Game Development Kit (GDK) must supply these values on the compiler command-line.
Gaming.Xbox.XboxOne.x64
Gaming.Xbox.Scarlett.x64
Gaming.Desktop.x64
These defines also apply to ‘classic’ x64 platforms when you use the Microsoft Game Development Kit.When you write Microsoft cross-platform code, you can use the following construction.
