aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/win32
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-08-15 15:30:30 +0200
committerFilippos Karapetis2019-09-01 22:47:55 +0300
commitb97333d4b715013f37700c200fb1619da9225de8 (patch)
tree1a96019cdf8bada4fdda64123dc3b10506121438 /backends/platform/sdl/win32
parentd49331132abf01b6a22c9dd051a042914206fd6e (diff)
downloadscummvm-rg350-b97333d4b715013f37700c200fb1619da9225de8.tar.gz
scummvm-rg350-b97333d4b715013f37700c200fb1619da9225de8.tar.bz2
scummvm-rg350-b97333d4b715013f37700c200fb1619da9225de8.zip
TTS: Remove USE_PLATFORM_TTS defines
Use defined(USE_TTS) && defined(PLATFORM) instead
Diffstat (limited to 'backends/platform/sdl/win32')
-rw-r--r--backends/platform/sdl/win32/win32.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/sdl/win32/win32.cpp b/backends/platform/sdl/win32/win32.cpp
index 4328773c36..5f35d46d39 100644
--- a/backends/platform/sdl/win32/win32.cpp
+++ b/backends/platform/sdl/win32/win32.cpp
@@ -54,7 +54,7 @@
#include "common/ustr.h"
#include "common/encoding.h"
-#ifdef USE_WINDOWS_TTS
+#if defined(USE_TTS)
#include "backends/text-to-speech/windows/windows-text-to-speech.h"
#endif
@@ -121,7 +121,7 @@ void OSystem_Win32::initBackend() {
#endif
// Initialize text to speech
-#ifdef USE_WINDOWS_TTS
+#ifdef USE_TTS
_textToSpeechManager = new WindowsTextToSpeechManager();
#endif