From 90008242eba3aeda6476863a1ae4ed44ec797022 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 4 Dec 2019 05:12:30 +0100 Subject: [PATCH] Put this behind HAVE_TRANSLATE ifdef --- retroarch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/retroarch.c b/retroarch.c index 0007b2c547..a50210ba5d 100644 --- a/retroarch.c +++ b/retroarch.c @@ -29320,8 +29320,8 @@ bool accessibility_speak_linux(char* speak_text, const char* language, int prior bool accessibility_speak_ai_service(char* speak_text, const char* language, int priority) { -#ifdef HAVE_NETWORKING - /* Call the ai service listed to do espeak for us. */ +#if defined(HAVE_NETWORKING) && defined(HAVE_TRANSLATE) + /* Call the AI service listed to do espeak for us. */ /* NOTE: This call works, but the audio mixer will not * play sound files while the core is paused, so it's * not practical at the moment. */