Buildfix for targets that don't define HAVE_NVDA

This commit is contained in:
twinaphex 2020-06-09 03:22:10 +02:00
parent 5a690b7ac8
commit 84781b7f3a

View File

@ -939,7 +939,10 @@ static bool create_win32_process(char* cmd)
static bool is_narrator_running_windows(void)
{
DWORD status = 0;
#ifdef HAVE_NVDA
init_nvda();
#endif
if (USE_POWERSHELL)
{
if (pi_set == false)
@ -1006,7 +1009,9 @@ static bool accessibility_speak_windows(int speed,
return true;
}
#ifdef HAVE_NVDA
init_nvda();
#endif
if (USE_POWERSHELL)
{