aports/testing/juce/locale_compat.patch
2026-04-13 21:58:53 +01:00

13 lines
297 B
Diff

--- /dev/null
+++ b/modules/juce_core/native/locale_compat.h
@@ -0,0 +1,9 @@
+#pragma once
+// Provide missing nl_item constants for musl
+#ifndef _NL_ADDRESS_LANG_AB
+#define _NL_ADDRESS_LANG_AB 0x1000
+#endif
+
+#ifndef _NL_ADDRESS_COUNTRY_AB2
+#define _NL_ADDRESS_COUNTRY_AB2 0x1001
+#endif
+