diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-02-20 17:46:34 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-02-20 17:46:34 +0000 |
commit | e2fea8646f72081d75fbad367be6ced68c82fb4c (patch) | |
tree | 146558b630d0cdeea1153ec6463c962e194936bb /Game/Code/switches.inc | |
parent | b4d9e59f54100db2cbfc18368004f28f34aee11b (diff) | |
download | usdx-e2fea8646f72081d75fbad367be6ced68c82fb4c.tar.gz usdx-e2fea8646f72081d75fbad367be6ced68c82fb4c.tar.xz usdx-e2fea8646f72081d75fbad367be6ced68c82fb4c.zip |
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
Diffstat (limited to '')
-rw-r--r-- | Game/Code/switches.inc | 10 |
1 files changed, 6 insertions, 4 deletions
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
|