[Scummvm-git-logs] scummvm master -> 28a1a0d3f14a9d794697a156243fa16654a8797b

Mataniko mataniko at gmail.com
Sun Mar 28 21:18:04 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
28a1a0d3f1 TTS: Fix builds when cross compiling


Commit: 28a1a0d3f14a9d794697a156243fa16654a8797b
    https://github.com/scummvm/scummvm/commit/28a1a0d3f14a9d794697a156243fa16654a8797b
Author: mataniko (mataniko at gmail.com)
Date: 2021-03-28T17:17:55-04:00

Commit Message:
TTS: Fix builds when cross compiling

Changed paths:
    backends/text-to-speech/windows/windows-text-to-speech.cpp


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 36a620974d..5018db4bf5 100644
--- a/backends/text-to-speech/windows/windows-text-to-speech.cpp
+++ b/backends/text-to-speech/windows/windows-text-to-speech.cpp
@@ -31,6 +31,10 @@
 #include <servprov.h>
 
 #include <sapi.h>
+#if _SAPI_VER < 0x53
+#define SPF_PARSE_SAPI 0x80
+#endif
+
 #include "backends/platform/sdl/win32/win32_wrapper.h"
 
 #include "backends/text-to-speech/windows/windows-text-to-speech.h"
@@ -48,7 +52,7 @@ ISpAudio *_audio;
 
 WindowsTextToSpeechManager::WindowsTextToSpeechManager()
 	: _speechState(BROKEN){
-	init();
+	init();	
 	_threadParams.queue = &_speechQueue;
 	_threadParams.state = &_speechState;
 	_threadParams.mutex = &_speechMutex;




More information about the Scummvm-git-logs mailing list