Fix broken build without IME and/or I18N (caused by rBcb6307162b4c12).

This commit is contained in:
Bastien Montagne
2016-05-03 16:56:52 +02:00
parent 9151095dbe
commit 645047708d

View File

@@ -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) {