You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/profiles/templates/3.6/6_ac_install_patch/net-libs/webkit-gtk/webkit-gtk-JSStringRef.patch

21 lines
550 B

# Calculate format=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