]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/string.cpp
more encoding names for AIX/Solaris/IRIX
[wxWidgets.git] / src / common / string.cpp
index 9e72b8aa59bad2fc791ba288391aa226f2eaf420..ffae5b4e127c85156ec36b5b77423ed4a3053fb7 100644 (file)
@@ -2497,7 +2497,11 @@ void wxArrayString::Sort(CompareFunction compareFunction)
   END_SORT();
 }
 
-typedef  int (wxC_CALLING_CONV * wxStringCompareFn)(const void *first, const void *second);
+extern "C"
+{
+    typedef int (wxC_CALLING_CONV * wxStringCompareFn)(const void *first,
+                                                       const void *second);
+}
 
 void wxArrayString::Sort(CompareFunction2 compareFunction)
 {