[fpc-pascal] Re: Delphi incompatible conditionals?

Marco van de Voort marcov at stack.nl
Sun Oct 3 22:09:12 CEST 2010


In our previous episode, Mark Daems said:
> ...
> > Try longint(3) and longint(2).
> >
> 
> How should I do that? The place where the file containing the
> conditions is included doesn't allow for defining constants as it's
> the very first line in the unit code.

{$if ...   $FPCVERSION>LONGINT(3) }

See also Martin's solution, which essentially the same.



More information about the fpc-pascal mailing list