chiark / gitweb /
libandroid-support: Add wcslcpy to header
authorFredrik Fornwall <fredrik@fornwall.net>
Wed, 15 Jul 2015 23:10:35 +0000 (19:10 -0400)
committerFredrik Fornwall <fredrik@fornwall.net>
Wed, 15 Jul 2015 23:10:35 +0000 (19:10 -0400)
packages/libandroid-support/include-wchar.h.patch [new file with mode: 0644]

diff --git a/packages/libandroid-support/include-wchar.h.patch b/packages/libandroid-support/include-wchar.h.patch
new file mode 100644 (file)
index 0000000..0a754dd
--- /dev/null
@@ -0,0 +1,11 @@
+diff -u -r /home/fornwall/lib/android-ndk/sources/android/support/include/wchar.h ./include/wchar.h
+--- /home/fornwall/lib/android-ndk/sources/android/support/include/wchar.h     2014-08-03 23:06:22.000000000 -0400
++++ ./include/wchar.h  2015-07-13 03:18:31.440649551 -0400
+@@ -119,6 +119,7 @@
+ wchar_t *wcstok (wchar_t *__restrict__, const wchar_t *__restrict__, wchar_t **__restrict__);
+ size_t wcslen (const wchar_t *);
++size_t wcslcpy(wchar_t *dst, const wchar_t *src, size_t siz);
+ wchar_t *wcsstr (const wchar_t *__restrict__, const wchar_t *__restrict__);
+ wchar_t *wcswcs (const wchar_t *, const wchar_t *);