diff options
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r-- | backends/platform/sdl/posix/posix.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/sdl/posix/posix.cpp b/backends/platform/sdl/posix/posix.cpp index 0b6c4d65ef..b9838498a4 100644 --- a/backends/platform/sdl/posix/posix.cpp +++ b/backends/platform/sdl/posix/posix.cpp @@ -55,7 +55,7 @@ #include <spawn.h> #endif -#ifdef USE_TTS +#if defined(USE_SPEECH_DISPATCHER) && defined(USE_TTS) #include "backends/text-to-speech/linux/linux-text-to-speech.h" #endif extern char **environ; @@ -83,9 +83,9 @@ void OSystem_POSIX::initBackend() { if (_savefileManager == 0) _savefileManager = new POSIXSaveFileManager(); -#ifdef USE_TTS +#if defined(USE_SPEECH_DISPATCHER) && defined(USE_TTS) // Initialize Text to Speech manager - _textToSpeechManager = new LinuxTextToSpeechManager(); + _textToSpeechManager = new SpeechDispatcherManager(); #endif // Invoke parent implementation of this method |