aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/sdl/macosx/macosx.cpp2
-rw-r--r--backends/platform/sdl/posix/posix.cpp4
-rw-r--r--backends/platform/sdl/win32/win32.cpp4
3 files changed, 5 insertions, 5 deletions
diff --git a/backends/platform/sdl/macosx/macosx.cpp b/backends/platform/sdl/macosx/macosx.cpp
index 3cca69b4a5..1c47401c13 100644
--- a/backends/platform/sdl/macosx/macosx.cpp
+++ b/backends/platform/sdl/macosx/macosx.cpp
@@ -87,7 +87,7 @@ void OSystem_MacOSX::initBackend() {
_updateManager = new MacOSXUpdateManager();
#endif
-#ifdef USE_MACOSX_TTS
+#ifdef USE_TTS
// Initialize Text to Speech manager
_textToSpeechManager = new MacOSXTextToSpeechManager();
#endif
diff --git a/backends/platform/sdl/posix/posix.cpp b/backends/platform/sdl/posix/posix.cpp
index 50a1ccdc58..0b6c4d65ef 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_LINUX_TTS
+#ifdef USE_TTS
#include "backends/text-to-speech/linux/linux-text-to-speech.h"
#endif
extern char **environ;
@@ -83,7 +83,7 @@ void OSystem_POSIX::initBackend() {
if (_savefileManager == 0)
_savefileManager = new POSIXSaveFileManager();
-#ifdef USE_LINUX_TTS
+#ifdef USE_TTS
// Initialize Text to Speech manager
_textToSpeechManager = new LinuxTextToSpeechManager();
#endif
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