MACRO
OMNI_ARCH_IGNORE - Do not attempt to guess the architecture type based on compiler macros.
SYNOPSIS top
Signifies to not use preprocessor macros to attempt to discover what architecture is being compiled for.
#define OMNI_ARCH_IGNORESignifies to not use preprocessor macros to attempt to discover what architecture is being compiled for.
DESCRIPTION top
By specifying the
There are currently no areas of Omni that utilize architecture specific code and, as a rule-of-thumb for Omni, we try to avoid architecture specific code to be as cross-system compatible as possible. However, that does not preclude one from using architecture specific code if it makes sense to enable certain optimizations in the source.
If nothing is defined, the default is an unknown architecture type.
By specifying the
OMNI_ARCH_IGNORE preprocessor flag, the library will not attempt to detect what architecture is being compiled against via certain preprocessor flags, and instead the user can specify what architecture to compile for (useful for cross platform compilation).There are currently no areas of Omni that utilize architecture specific code and, as a rule-of-thumb for Omni, we try to avoid architecture specific code to be as cross-system compatible as possible. However, that does not preclude one from using architecture specific code if it makes sense to enable certain optimizations in the source.
If nothing is defined, the default is an unknown architecture type.
PLATFORM SPECIFIC top
This flag is not platform specific but can be used to determine what architecture to be compiled for.
This flag is not platform specific but can be used to determine what architecture to be compiled for.