From 4401ddfaa20d87492442cb7656c37d13b75995d7 Mon Sep 17 00:00:00 2001
From: tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>
Date: Mon, 16 Jun 2008 15:00:46 +0000
Subject: Delphi 7 compatibility fix: - "in"-operator does not work with
 WideChar operands, e.g. "mychar in ['a..z'] - FPC_VERSION/RELEASE/PATCH (e.g.
 {$IF FPC_VERSION > 2}) must be defined as constants because delphi 7 does not
 care about {$IFDEF FPC} sections and complains about undefined constant
 expressions.

git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1150 b956fd51-792f-4845-bead-9b4dfca2ff2c
---
 Game/Code/switches.inc | 6 ------
 1 file changed, 6 deletions(-)

(limited to 'Game/Code/switches.inc')

diff --git a/Game/Code/switches.inc b/Game/Code/switches.inc
index 20956492..52df7e7d 100644
--- a/Game/Code/switches.inc
+++ b/Game/Code/switches.inc
@@ -20,12 +20,6 @@
     {$DEFINE DEBUG}
   {$ENDIF}
 
-  // for transition from 2.2.0 to 2.2.2
-  // remove 2.2.0 support as soon as packages for all distributions are available
-  {$IF (FPC_VERSION > 2) or ((FPC_VERSION = 2) and ((FPC_RELEASE > 2) or ((FPC_RELEASE = 2) and (FPC_PATCH >= 2))))}
-    {$DEFINE FPC_VERSION_2_2_2_PLUS}
-  {$IFEND}
-
   {$DEFINE HasInline}
 {$ELSE}
   {$DEFINE Delphi}
-- 
cgit v1.2.3