Leonid Plyushch
6 years ago
3 changed files with 21 additions and 17 deletions
@ -0,0 +1,20 @@ |
|||||
|
diff -uNr libandroid-support-24/src/musl-locale/iconv.c libandroid-support-24.mod/src/musl-locale/iconv.c
|
||||
|
--- libandroid-support-24/src/musl-locale/iconv.c 2019-01-25 03:17:10.000000000 +0200
|
||||
|
+++ libandroid-support-24.mod/src/musl-locale/iconv.c 2019-05-23 02:25:07.770702362 +0300
|
||||
|
@@ -1,4 +1,3 @@
|
||||
|
-#include <iconv.h>
|
||||
|
#include <errno.h> |
||||
|
#include <wchar.h> |
||||
|
#include <string.h> |
||||
|
@@ -6,6 +5,11 @@
|
||||
|
#include <limits.h> |
||||
|
#include <stdint.h> |
||||
|
|
||||
|
+typedef void* iconv_t;
|
||||
|
+iconv_t iconv_open(const char*, const char*);
|
||||
|
+size_t iconv(iconv_t, char**, size_t*, char**, size_t*);
|
||||
|
+int iconv_close(iconv_t);
|
||||
|
+
|
||||
|
#define UTF_32BE 0300 |
||||
|
#define UTF_16LE 0301 |
||||
|
#define UTF_16BE 0302 |
@ -1,16 +0,0 @@ |
|||||
diff -uNr libandroid-support-24/include/iconv.h libandroid-support-24.mod/include/iconv.h
|
|
||||
--- libandroid-support-24/include/iconv.h 1970-01-01 03:00:00.000000000 +0300
|
|
||||
+++ libandroid-support-24.mod/include/iconv.h 2019-04-28 22:49:00.107252621 +0300
|
|
||||
@@ -0,0 +1,12 @@
|
|
||||
+#ifndef _ICONV_H
|
|
||||
+#define _ICONV_H
|
|
||||
+
|
|
||||
+#include <stddef.h>
|
|
||||
+
|
|
||||
+typedef void* iconv_t;
|
|
||||
+
|
|
||||
+iconv_t iconv_open(const char*, const char*);
|
|
||||
+size_t iconv(iconv_t, char**, size_t*, char**, size_t*);
|
|
||||
+int iconv_close(iconv_t);
|
|
||||
+
|
|
||||
+#endif
|
|
Loading…
Reference in new issue