20 lines
526 B
Diff
20 lines
526 B
Diff
|
--- webkitgtk-2.4.11.orig/Source/JavaScriptCore/API/JSStringRef.h 2016-04-10 08:48:36.000000000 +0200
|
||
|
+++ webkitgtk-2.4.11/Source/JavaScriptCore/API/JSStringRef.h 2017-12-20 23:04:55.000000000 +0100
|
||
|
@@ -27,6 +27,7 @@
|
||
|
#define JSStringRef_h
|
||
|
|
||
|
#include <JavaScriptCore/JSValueRef.h>
|
||
|
+#include <uchar.h>
|
||
|
|
||
|
#ifndef __cplusplus
|
||
|
#include <stdbool.h>
|
||
|
@@ -43,7 +44,7 @@
|
||
|
@typedef JSChar
|
||
|
@abstract A Unicode character.
|
||
|
*/
|
||
|
- typedef unsigned short JSChar;
|
||
|
+ typedef char16_t JSChar;
|
||
|
#else
|
||
|
typedef wchar_t JSChar;
|
||
|
#endif
|