How to deal with platform-specific code?

I find those defintions in source code

PLATFORM_LINUX
PLATFORM_MAC
PLATFORM_WINDOWS

They should work :slight_smile: also use UE4 core APIs and avoid using standard C++ function as much as possible, so you can avoid a lot of problems

3 Likes