0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-09-22 08:31:32 +00:00
termux-packages/x11-packages/audacity/src-AudacityApp.cpp.patch
2022-04-30 03:49:51 +09:00

21 lines
614 B
Diff

--- a/src/AudacityApp.cpp
+++ b/src/AudacityApp.cpp
@@ -964,7 +964,7 @@
#define WL(lang,sublang)
#endif
-#if wxCHECK_VERSION(3, 0, 1)
+#if wxCHECK_VERSION(3, 0, 1) && !defined __ANDROID__
wxLanguageInfo userLangs[] =
{
// Bosnian is defined in wxWidgets already
@@ -1270,7 +1270,7 @@
//
// TODO: The whole Language initialization really need to be reworked.
// It's all over the place.
-#if wxCHECK_VERSION(3, 0, 1)
+#if wxCHECK_VERSION(3, 0, 1) && !defined __ANDROID__
for (size_t i = 0, cnt = WXSIZEOF(userLangs); i < cnt; i++)
{
wxLocale::AddLanguage(userLangs[i]);