aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/switches.inc
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Code/switches.inc')
-rw-r--r--Game/Code/switches.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/Game/Code/switches.inc b/Game/Code/switches.inc
index 1a8f26cc..ba028f57 100644
--- a/Game/Code/switches.inc
+++ b/Game/Code/switches.inc
@@ -7,6 +7,7 @@
// So, for Windows-only code use the MSWINDOWS define.
{$IFDEF FPC}
+ {$DEFINE CONSOLE}
{$IFDEF DARWIN}
{$H+}
{$R-}
@@ -26,6 +27,8 @@
{$DEFINE HasInline}
{$UNDEF UseSerialPort}
{$ELSE}
+ {$UNDEF CONSOLE} // Delphi requires a special app type... no thanks ! :)
+ // {$DEFINE CONSOLE} // -- use for development only !
{$DEFINE Delphi}
// Delphi version numbers (ignore versions released before Delphi 6 as they miss the $IF directive):
@@ -82,7 +85,9 @@
{$IFDEF DEBUG}
{$IFNDEF DARWIN}
- {$APPTYPE CONSOLE}
+ {$IFDEF CONSOLE}
+ {$APPTYPE CONSOLE}
+ {$ENDIF}
{$ENDIF}
{$ENDIF}