From 3158ee2b850ce0311d8cb8f03cbe6b1681a1f48f Mon Sep 17 00:00:00 2001 From: tobigun Date: Mon, 9 Jun 2008 10:22:14 +0000 Subject: - all references to the libc unit removed. The Libc unit (not the library) was for kylix compatibility and should not be used anymore. In addition it seems the libc unit is not available on 64bit systems. - added some functions that will be introduced with FPC 2.2.2 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1145 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/switches.inc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Game/Code/switches.inc') diff --git a/Game/Code/switches.inc b/Game/Code/switches.inc index 52df7e7d..20956492 100644 --- a/Game/Code/switches.inc +++ b/Game/Code/switches.inc @@ -20,6 +20,12 @@ {$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