summaryrefslogtreecommitdiff
path: root/graphite
diff options
context:
space:
mode:
Diffstat (limited to 'graphite')
-rw-r--r--graphite/graphite2.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/graphite/graphite2.patch b/graphite/graphite2.patch
index 2b6f64b7b0b1..c7739ad441cb 100644
--- a/graphite/graphite2.patch
+++ b/graphite/graphite2.patch
@@ -10,3 +10,20 @@
#if defined GRAPHITE2_STATIC
#define GR2_API
#elif defined GRAPHITE2_EXPORTING
+--- misc/graphite2-1.2.0/src/inc/json.h
++++ misc/build/graphite2-1.2.0/src/inc/json.h
+@@ -146,6 +146,14 @@
+ inline
+ json & operator << (json & j, unsigned int d) throw() { return j << json::integer(d); }
+
++#if defined(_WIN64)
++inline
++json & operator << (json & j, __int64 d) throw() { return j << json::integer((unsigned int)d); }
++
++inline
++json & operator << (json & j, size_t d) throw() { return j << json::integer((unsigned int)d); }
++
++#endif
+ inline
+ json & operator << (json & j, char c) throw ()
+ {