diff options
author | nyamatongwe <unknown> | 2006-06-21 13:08:54 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2006-06-21 13:08:54 +0000 |
commit | 3b5eacd985dd0560ee5c27b8ac2fc38b872c1f07 (patch) | |
tree | 33cd99d8585a749bbe3e234675e3cd488015a40f | |
parent | e35ab7a1346ff465e00b09eb9e0411ff948e0074 (diff) | |
download | scintilla-mirror-3b5eacd985dd0560ee5c27b8ac2fc38b872c1f07.tar.gz |
Fix for bug 1508641.
-rw-r--r-- | src/PropSet.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PropSet.cxx b/src/PropSet.cxx index b4011a04c..c563d2bed 100644 --- a/src/PropSet.cxx +++ b/src/PropSet.cxx @@ -825,12 +825,12 @@ void WordList::SetFromAllocated() { memcpy(wordsNoCase, words, (len + 1) * sizeof (*words)); } -int cmpString(const void *a1, const void *a2) { +extern "C" int cmpString(const void *a1, const void *a2) { // Can't work out the correct incantation to use modern casts here return strcmp(*(char**)(a1), *(char**)(a2)); } -int cmpStringNoCase(const void *a1, const void *a2) { +extern "C" int cmpStringNoCase(const void *a1, const void *a2) { // Can't work out the correct incantation to use modern casts here return CompareCaseInsensitive(*(char**)(a1), *(char**)(a2)); } |