43 lines
1.1 KiB
Diff
43 lines
1.1 KiB
Diff
--- a/JuceLibraryCode/modules/juce_core/native/juce_SystemStats_linux.cpp
|
|
+++ b/JuceLibraryCode/modules/juce_core/native/juce_SystemStats_linux.cpp
|
|
@@ -198,7 +198,7 @@
|
|
|
|
String SystemStats::getUserLanguage()
|
|
{
|
|
- #if JUCE_BSD
|
|
+ #if JUCE_BSD || !defined(__GLIBC__)
|
|
if (auto langEnv = getenv ("LANG"))
|
|
return String::fromUTF8 (langEnv).upToLastOccurrenceOf (".UTF-8", false, true);
|
|
|
|
@@ -210,7 +210,7 @@
|
|
|
|
String SystemStats::getUserRegion()
|
|
{
|
|
- #if JUCE_BSD
|
|
+ #if JUCE_BSD || !defined(__GLIBC__)
|
|
return {};
|
|
#else
|
|
return getLocaleValue (_NL_ADDRESS_COUNTRY_AB2);
|
|
--- a/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp
|
|
+++ b/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp
|
|
@@ -138,7 +138,7 @@
|
|
{
|
|
String result;
|
|
|
|
- #if JUCE_ANDROID || JUCE_MINGW || JUCE_WASM
|
|
+ #if 1
|
|
jassertfalse; // sorry, not implemented yet!
|
|
|
|
#elif JUCE_WINDOWS
|
|
--- a/JuceLibraryCode/modules/juce_core/juce_core.cpp
|
|
+++ b/JuceLibraryCode/modules/juce_core/juce_core.cpp
|
|
@@ -102,7 +102,7 @@
|
|
#include <net/if.h>
|
|
#include <sys/ioctl.h>
|
|
|
|
- #if ! (JUCE_ANDROID || JUCE_WASM)
|
|
+ #if 0
|
|
#include <execinfo.h>
|
|
#endif
|
|
#endif
|