diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/openldap/android.diff | |
Diffstat (limited to 'vcpkg/ports/openldap/android.diff')
| -rw-r--r-- | vcpkg/ports/openldap/android.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/openldap/android.diff b/vcpkg/ports/openldap/android.diff new file mode 100644 index 0000000..294c16f --- /dev/null +++ b/vcpkg/ports/openldap/android.diff @@ -0,0 +1,13 @@ +diff --git a/libraries/libldap/utf-8-conv.c b/libraries/libldap/utf-8-conv.c +index 98ed58d..4bd5459 100644 +--- a/libraries/libldap/utf-8-conv.c ++++ b/libraries/libldap/utf-8-conv.c +@@ -328,7 +328,7 @@ ldap_x_wcs_to_utf8s ( char *utf8str, const wchar_t *wcstr, size_t count ) + return (p - utf8str); + } + +-#ifdef ANDROID ++#if 0 + int wctomb(char *s, wchar_t wc) { return wcrtomb(s,wc,NULL); } + int mbtowc(wchar_t *pwc, const char *s, size_t n) { return mbrtowc(pwc, s, n, NULL); } + #endif |