[fpc-pascal] Conditional code for FPC modes

Juha Manninen juha.manninen62 at gmail.com
Wed Jun 15 11:17:29 CEST 2016


More accurately, I want to check {$ModeSwitch UnicodeStrings}.
Anyway, if there is no define, I can use:

  {$IF SizeOf(Char) = 2}

Works well although the highlighter in Lazarus editor shows it wrong.

Juha


More information about the fpc-pascal mailing list