TTS: Remove USE_PLATFORM_TTS defines

Use defined(USE_TTS) && defined(PLATFORM) instead
This commit is contained in:
Jaromir Wysoglad 2019-08-15 15:30:30 +02:00 committed by Filippos Karapetis
parent d49331132a
commit b97333d4b7
12 changed files with 29 additions and 34 deletions

View file

@ -25,7 +25,7 @@
#include "backends/text-to-speech/linux/linux-text-to-speech.h"
#if defined(USE_LINUX_TTS)
#if defined(USE_TTS) && defined(POSIX)
#include <speech-dispatcher/libspeechd.h>
#include "backends/platform/sdl/sdl-sys.h"