From cedef41777ac60f0a3de75bc8a95f6bfbb87fbfa Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 5 Feb 2016 10:02:29 -0500 Subject: Fix building CDK in debug mode. In debug mode, inline functions are not inlined, so ensure internal linkage. Thanks to Markus F.X.J. Oberhume. --- src/cdk.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cdk.patch b/src/cdk.patch index b3d5e55a..decbf63b 100644 --- a/src/cdk.patch +++ b/src/cdk.patch @@ -432,7 +432,7 @@ diff -r c40f79827990 entry.c } } -+inline int isUtf8CharPart(unsigned int ch) { return (ch >= 0x80) && (ch < 0xc0); } ++static inline int isUtf8CharPart(unsigned int ch) { return (ch >= 0x80) && (ch < 0xc0); } + /* * This injects a single character into the widget. -- cgit v1.2.3