From 645047708d4bd7f4fafa1d96168400700f99ff43 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Tue, 3 May 2016 16:56:52 +0200 Subject: Fix broken build without IME and/or I18N (caused by rBcb6307162b4c12). --- source/blender/blentranslation/intern/blt_lang.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'source') diff --git a/source/blender/blentranslation/intern/blt_lang.c b/source/blender/blentranslation/intern/blt_lang.c index 40771b3315a..74c2b4b7472 100644 --- a/source/blender/blentranslation/intern/blt_lang.c +++ b/source/blender/blentranslation/intern/blt_lang.c @@ -54,6 +54,10 @@ #include "MEM_guardedalloc.h" +/* Cached IME support flags */ +static bool ime_is_lang_supported = false; +static void blt_lang_check_ime_supported(void); + #ifdef WITH_INTERNATIONAL #include "boost_locale_wrapper.h" @@ -64,12 +68,6 @@ static int num_locales = 0; static EnumPropertyItem *locales_menu = NULL; static int num_locales_menu = 0; -#ifdef WITH_INPUT_IME -/* Cached IME support flags */ -static bool ime_is_lang_supported = false; -static void blt_lang_check_ime_supported(void); -#endif - static void free_locales(void) { if (locales) { -- cgit v1.2.3