mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1188457 - Fixed SapiService.cpp compilation on mingw. r=jimm
This commit is contained in:
parent
c5a681c4f5
commit
f31b0a1c0d
@ -132,6 +132,8 @@ SapiCallback::OnSpeechEvent(const SPEVENT& speechEvent)
|
||||
mTask->DispatchBoundary(NS_LITERAL_STRING("sentence"),
|
||||
GetTickCount() - mStartingTime, mCurrentIndex);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -180,7 +182,7 @@ SapiService::Init()
|
||||
|
||||
if (Preferences::GetBool("media.webspeech.synth.test")) {
|
||||
// When enabled, we shouldn't add OS backend (Bug 1160844)
|
||||
return nullptr;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (FAILED(CoCreateInstance(CLSID_SpVoice, nullptr, CLSCTX_ALL, IID_ISpVoice,
|
||||
|
@ -356,7 +356,8 @@ if CONFIG['OS_ARCH'] == 'WINNT':
|
||||
'wbemuuid',
|
||||
'wintrust',
|
||||
'wtsapi32',
|
||||
'locationapi'
|
||||
'locationapi',
|
||||
'sapi',
|
||||
]
|
||||
if CONFIG['ACCESSIBILITY']:
|
||||
OS_LIBS += [
|
||||
|
Loading…
Reference in New Issue
Block a user