From e2fea8646f72081d75fbad367be6ced68c82fb4c Mon Sep 17 00:00:00 2001 From: tobigun Date: Wed, 20 Feb 2008 17:46:34 +0000 Subject: Made the midi-stuff FPC (for windows) compatible. Now (in windows) FPC contains all functionalities of the delphi build. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@872 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/switches.inc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Game/Code/switches.inc') diff --git a/Game/Code/switches.inc b/Game/Code/switches.inc index d0cc9525..d0f187bb 100644 --- a/Game/Code/switches.inc +++ b/Game/Code/switches.inc @@ -24,12 +24,10 @@ {$DEFINE DLL_CDECL} {$UNDEF UseSerialPort} - {$UNDEF UseMIDIPort} {$ELSE} {$DEFINE Delphi} {$DEFINE DLL_STDCALL} {$UNDEF UseSerialPort} - {$DEFINE UseMIDIPort} {$ENDIF} @@ -44,8 +42,8 @@ {$DEFINE UseBASSInput} {$ELSE} {$DEFINE UseFFMpegDecoder} - {$DEFINE HaveAvcodecDecodeAudio2} {$DEFINE UsePortaudioPlayback} + //{$DEFINE UseSDLPlayback} {$DEFINE UsePortaudioInput} {$DEFINE UsePortmixer} {$ENDIF} @@ -70,7 +68,11 @@ {$IFDEF DEBUG} {$IFNDEF DARWIN} {$APPTYPE CONSOLE} - {$ENDIF} + {$ENDIF} + {$ENDIF} + + {$IFDEF MSWINDOWS} + {$DEFINE UseMIDIPort} {$ENDIF} {$ELSEIF Defined(Linux)} // include defines but no constants -- cgit v1.2.3