Archive 17/01/2023.

Platform macros

KVADRO

Hello world! Does Urho3D provide platform identify macros such as CC_TARGET_PLATFORM, CC_PLATFORM_IOS,… in cocos2d-x?

weitjong

We don’t explicitly define the preprocessor macros for each platform, but only when it has not been defined yet. See these lines of code.