OMNI_PLATFORM_MACOS
Defined in omni/core/Platform.h
-
OMNI_PLATFORM_MACOS
Set to
1
if compiling a MacOS build. Set to0
otherwise. This symbol will always be defined even when not on a MacOS build. It can thus be used to pass as parameters or in if-statements to modify behavior based on the platform.