X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d155f504e4e39b5cba44729185506805867f9fd..f6106dae23c334c30e5e1f2f0763468f61ecce55:/src/common/string.cpp?ds=inline diff --git a/src/common/string.cpp b/src/common/string.cpp index b1349cf731..6bc1683a23 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -2240,7 +2240,8 @@ static wxArrayString::CompareFunction gs_compareFunction = NULL; static bool gs_sortAscending = TRUE; // function which is called by quick sort -static int LINKAGEMODE wxStringCompareFunction(const void *first, const void *second) +extern "C" int LINKAGEMODE +wxStringCompareFunction(const void *first, const void *second) { wxString *strFirst = (wxString *)first; wxString *strSecond = (wxString *)second;