diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-06-16 15:00:46 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-06-16 15:00:46 +0000 |
commit | 4401ddfaa20d87492442cb7656c37d13b75995d7 (patch) | |
tree | 9caf2c1a46daf42f4ad8c5e7e2d3e59369ea3c73 /Game/Code/switches.inc | |
parent | f01995d31ad202ccbbe8f79213303e479923cd81 (diff) | |
download | usdx-4401ddfaa20d87492442cb7656c37d13b75995d7.tar.gz usdx-4401ddfaa20d87492442cb7656c37d13b75995d7.tar.xz usdx-4401ddfaa20d87492442cb7656c37d13b75995d7.zip |
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
Diffstat (limited to 'Game/Code/switches.inc')
-rw-r--r-- | Game/Code/switches.inc | 6 |
1 files changed, 0 insertions, 6 deletions
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} |