0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/x11-packages/freerdp/0001-mblen.patch
2024-05-01 13:09:21 +08:00

12 lines
424 B
Diff

--- a/winpr/libwinpr/utils/trio/trio.c
+++ b/winpr/libwinpr/utils/trio/trio.c
@@ -127,7 +127,7 @@
#if defined(__STDC_ISO_10646__) || defined(MB_LEN_MAX) || defined(USE_MULTIBYTE) || \
TRIO_FEATURE_WIDECHAR
-#if (!defined(TRIO_PLATFORM_WINCE) && !defined(ANDROID))
+#if (!defined(TRIO_PLATFORM_WINCE) && !defined(__ANDROID__))
#define TRIO_COMPILER_SUPPORTS_MULTIBYTE
#if !defined(MB_LEN_MAX)
#define MB_LEN_MAX 6