diff options
author | 2016-02-05 10:02:29 -0500 | |
---|---|---|
committer | 2016-02-05 10:02:29 -0500 | |
commit | cedef41777ac60f0a3de75bc8a95f6bfbb87fbfa (patch) | |
tree | d57442d0c6d177e62861dde6b30a336ee79f89f5 | |
parent | 38bd88a7fbc7ae3d54e4ff22700f39ae3f80186e (diff) | |
download | textadept-cedef41777ac60f0a3de75bc8a95f6bfbb87fbfa.tar.gz textadept-cedef41777ac60f0a3de75bc8a95f6bfbb87fbfa.zip |
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.
-rw-r--r-- | THANKS.md | 1 | ||||
-rw-r--r-- | src/cdk.patch | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -43,6 +43,7 @@ private contract work related to Textadept. * Lance Larsen * M Rawash * Manuel Montenegro +* Markus F.X.J. Oberhume * Martin Morawetz * Michael T. Richter * Neil Hodgson 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. |