<p>Am 15.06.2016 10:15 schrieb "Juha Manninen" <<a href="mailto:juha.manninen62@gmail.com">juha.manninen62@gmail.com</a>>:<br>
><br>
> Are there defines matching the modes in FPC, for example {$mode delphiunicode} ?<br>
> I want to do something like :<br>
> {$IFDEF delphiunicode}<br>
> ...<br>
> {$ELSE}<br>
> ...<br>
> {$ENDIF}</p>
<p>There are. They are FPC_<modename>, though DelphiUnicode seems to be missing. You shouldn't directly check for that anyway, but instead for FPC_UNICODESTRINGS which is set if String = UnicodeString independently of the mode.</p>
<p>Regards,<br>
Sven</p>