wok-next view webkitgtk/stuff/patches/icu60.patch @ rev 20673

font-manager: dev package is empty, update deps.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 11 16:56:15 2018 +0300 (2018-05-11)
parents
children
line source
1 --- a/Source/JavaScriptCore/API/JSStringRef.h
2 +++ b/Source/JavaScriptCore/API/JSStringRef.h
3 @@ -32,6 +32,7 @@
4 #include <stdbool.h>
5 #endif
6 #include <stddef.h> /* for size_t */
7 +#include <uchar.h>
9 #ifdef __cplusplus
10 extern "C" {
11 @@ -43,7 +44,7 @@
12 @typedef JSChar
13 @abstract A Unicode character.
14 */
15 - typedef unsigned short JSChar;
16 + typedef char16_t JSChar;
17 #else
18 typedef wchar_t JSChar;
19 #endif
20 --- a/Source/WebKit2/Shared/API/c/WKString.h
21 +++ b/Source/WebKit2/Shared/API/c/WKString.h
22 @@ -28,6 +28,7 @@
24 #include <WebKit2/WKBase.h>
25 #include <stddef.h>
26 +#include <uchar.h>
28 #ifndef __cplusplus
29 #include <stdbool.h>
30 @@ -39,7 +40,7 @@
32 #if !defined(WIN32) && !defined(_WIN32) \
33 && !((defined(__CC_ARM) || defined(__ARMCC__)) && !defined(__linux__)) /* RVCT */
34 - typedef unsigned short WKChar;
35 + typedef char16_t WKChar;
36 #else
37 typedef wchar_t WKChar;
38 #endif