On Wed, 12 Jun 2013, Michael Schnell wrote:

On 06/12/2013 11:10 AM, Michael Van Canneyt wrote:

Not necessarily. Compatible concerning Language/rtl functions, yes. Defines, this is debatable.
I do know that my colleagues use "UNICODE" a lot when porting their (huge) code-base from pre-Unicode Delphi to Unicode aware Delphi versions.

So yes it is absolutely essential to them that this define stays in it's inherited meaning when they one port their code to Lazarus / FPC to make it run on Linux.

Simple:

Add

{$IFDEF FPC}
{$DEFINE UNICODE}
{$ENDIF}

to your source, or, alternatively, fpc -dUNICODE

Both do the trick.

Michael.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to