[fpc-pascal] FPC version defines

Peter Vreman peter at freepascal.org
Thu May 17 23:06:34 CEST 2007

At 22:53 17-5-2007, you wrote:
>What are the FPC defines for it's versions? I would like to separate
>some code from FPC 2.0.4 and FPC 2.2 (actually development 2.1) due to
>some bugs in 2.0.4 that were corrected on 2.1

{$ifdef VER2_0}
    2.0.x code
    2.1+ code

More information about the fpc-pascal mailing list