From: Ketmar Dark Date: Mon, 2 Oct 2017 23:42:57 +0000 (+0300) Subject: USE_FMOD fix (it MUST be optional) X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=4fc69a0d6870ddee3209068ff157420fba52d21a;p=d2df-sdl.git USE_FMOD fix (it MUST be optional) --- diff --git a/src/game/Doom2DF.lpr b/src/game/Doom2DF.lpr index 5162d93..54df194 100644 --- a/src/game/Doom2DF.lpr +++ b/src/game/Doom2DF.lpr @@ -22,20 +22,13 @@ program Doom2DF; {$ENDIF} {$HINTS OFF} -{$UNDEF XXX} {$IFDEF USE_SDLMIXER} - {$DEFINE XXX} -{$ENDIF} -{$IFDEF USE_FMOD} - {$IFDEF XXX} - {$ERROR define one of USE_SDLMIXER or USE_FMOD} - {$ELSE} - {$DEFINE XXX} + {$IFDEF USE_FMOD} + {$ERROR define only one of USE_SDLMIXER or USE_FMOD} {$ENDIF} -{$ENDIF} - -{$IFNDEF XXX} - {$ERROR define USE_SDLMIXER or USE_FMOD} +{$ELSE} + {$UNDEF USE_SDLMIXER} + {$DEFINE USE_FMOD} {$ENDIF} uses