aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cdk.patch
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2016-02-05 10:02:29 -0500
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2016-02-05 10:02:29 -0500
commitcedef41777ac60f0a3de75bc8a95f6bfbb87fbfa (patch)
treed57442d0c6d177e62861dde6b30a336ee79f89f5 /src/cdk.patch
parent38bd88a7fbc7ae3d54e4ff22700f39ae3f80186e (diff)
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.
Diffstat (limited to 'src/cdk.patch')
-rw-r--r--src/cdk.patch2
1 files changed, 1 insertions, 1 deletions
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.