> I'm pretty sure there are defines for the compiler version.. Something like;
> 
>    {$define VER_2_0_2}
> 
> for version 2.x of the compiler..
> 
> What would I need to use to differentiate fpc 1.x code from fpc 2.x code?
{$IFDEF VER1_0}
  // your legacy 1.0 code here.
{$else}
  // your 2.0+ code here.
{$endif}