OMNI_RL
MACRO

OMNI_RL - If defined, uses the \r new line instead of \n or \r\n.

SYNOPSIS top

The OMNI_NEW_LINE macro is defined as \r\n on Windows platforms and \n on all other detected platforms (via certain platform specific macro definitions). If the OMNNI_APLNL macro is defined, then the default \n newline character will instead be \r.

DESCRIPTION top

Most Unix and Linux platforms use \n (new line) as a new line character while Windows platforms will typically use \r\n (form feed + new line); Apple platforms are typically Unix based and will adhere to the de-facto \n new line constant (at least honor it as a new line), but some platforms will use only the \r character to mean a new line (versus form feed). If you are targeting a platform, like some older Apple platforms for instance, that use \r as their de-factor, define this option and the OMNI_NEW_LINE macro will be a \r instead of the default for the platform (\r\n for Windows and \n for all others).

CONSIDERATIONS top

No special consideration.

PLATFORM SPECIFIC top

This option is only valid on non Windows platforms. If you wish to force the OMNI_NEW_LINE macro to be \r for all platforms, then you must define OMNI_NEW_LINE as \r in your compilation options (e.g. via /DOMNI_NEW_LINE=\r)

NOTES top

None.