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