From e3fc5e2c58302159b79e0e25e183aa3e75397a41 Mon Sep 17 00:00:00 2001 From: jaybinks Date: Tue, 18 Sep 2007 11:16:30 +0000 Subject: added switches.inc , which will contain compiler directives used ( at least ) for porting to linux. this file now contains compiler directive UseSerialPort, which is conditionally set depending on the compiler. at this point lazarus will not use the serial port ( LCD or Light ) units. however this functionality should be maintained at this point in delphi. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@390 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/switches.inc | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Game/Code/switches.inc (limited to 'Game/Code/switches.inc') diff --git a/Game/Code/switches.inc b/Game/Code/switches.inc new file mode 100644 index 00000000..b980e754 --- /dev/null +++ b/Game/Code/switches.inc @@ -0,0 +1,5 @@ +{$IFDEF FPC} + {$UNDEF UseSerialPort} +{$ELSE} + {$DEFINE UseSerialPort} +{$ENDIF} -- cgit v1.2.3