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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to