aboutsummaryrefslogtreecommitdiff
path: root/backends/text-to-speech/windows
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/text-to-speech/windows
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/text-to-speech/windows')
-rw-r--r--backends/text-to-speech/windows/windows-text-to-speech.cpp2
-rw-r--r--backends/text-to-speech/windows/windows-text-to-speech.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/text-to-speech/windows/windows-text-to-speech.cpp b/backends/text-to-speech/windows/windows-text-to-speech.cpp
index 3ef4b55b74..b7d39f0286 100644
--- a/backends/text-to-speech/windows/windows-text-to-speech.cpp
+++ b/backends/text-to-speech/windows/windows-text-to-speech.cpp
@@ -25,7 +25,7 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#if defined(USE_WINDOWS_TTS)
+#if defined(USE_TTS) && defined(WIN32)
#include <basetyps.h>
#include <windows.h>
#include <Servprov.h>
diff --git a/backends/text-to-speech/windows/windows-text-to-speech.h b/backends/text-to-speech/windows/windows-text-to-speech.h
index cc94107291..3e7c29ba35 100644
--- a/backends/text-to-speech/windows/windows-text-to-speech.h
+++ b/backends/text-to-speech/windows/windows-text-to-speech.h
@@ -25,7 +25,7 @@
#include "common/scummsys.h"
-#if defined(USE_WINDOWS_TTS)
+#if defined(USE_TTS) && defined(WIN32)
#include "common/text-to-speech.h"
#include "common/str.h"