From: DeaDDooMER Date: Sun, 13 Oct 2019 15:03:50 +0000 (+0300) Subject: fix building tools X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=127607b104d8ab3bbf0bce11940a7bd1936209db;p=d2df-sdl.git fix building tools --- diff --git a/src/shared/a_modes.inc b/src/shared/a_modes.inc index c9fd457..5fc22fa 100644 --- a/src/shared/a_modes.inc +++ b/src/shared/a_modes.inc @@ -138,7 +138,11 @@ {$ERROR Only one sound driver must be selected!} {$ENDIF} {$ELSE} - {$ERROR Sound driver not selected. Use -dUSE_SOUNDSTUB or -dUSE_SDLMIXER or -dUSE_FMOD or -dUSE_OPENAL} + {$IFDEF IN_TOOLS} + {$DEFINE USE_SOUNDSTUB} + {$ELSE} + {$ERROR Sound driver not selected. Use -dUSE_SOUNDSTUB or -dUSE_SDLMIXER or -dUSE_FMOD or -dUSE_OPENAL} + {$ENDIF} {$ENDIF} {$IF DEFINED(USE_GLSTUB)}