MACRO
OMNI_APPLE_OLD_API - Defines whether to use older Apple API's or macOS API's.
DESCRIPTION top
If this macro is defined, then the older Apple API set will be utilized versus the newer macOS calls (useful for compiling on older OS X platforms).
For example, in
If this macro is defined, then the older Apple API set will be utilized versus the newer macOS calls (useful for compiling on older OS X platforms).
For example, in
omni::sync::spin_lock when the object is locked, if this macro is defined then OSSpinLockLock is used, while if this macro is not defined then os_unfair_lock_lock is utilized.
PLATFORM SPECIFIC top
This macro option only applies to Apple platforms and will have no effect if defined on a non Apple platform.
This macro option only applies to Apple platforms and will have no effect if defined on a non Apple platform.