A few tweaks (including wrapping stuff in #ifdef __APPLE__) to make sure
stuff still compiles under Linux, after applying Eric P.'s OSX changes.
This commit is contained in:
parent
e990b48de7
commit
efd8d14585
3 changed files with 5 additions and 1 deletions
|
|
@ -844,7 +844,9 @@ int setup_i18n(const char *restrict lang, const char *restrict locale)
|
|||
|
||||
if(lang)
|
||||
locale = language_to_locale(lang);
|
||||
#ifdef __APPLE__
|
||||
patch_i18n(locale); //EP
|
||||
#endif
|
||||
return set_current_language(locale);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#ifdef __APPLE__
|
||||
#include "patch.h" //EP
|
||||
#endif
|
||||
#include "onscreen_keyboard.h"
|
||||
|
||||
//#define DEBUG_OSK_COMPOSEMAP
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
#include <ctype.h>
|
||||
#include <stdint.h>
|
||||
#include "../src/parse.h"
|
||||
#include "debug.h"
|
||||
#include "../src/debug.h"
|
||||
|
||||
const char PARSE_YES[] = "yes";
|
||||
const char PARSE_NO[] = "no";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue