This commit is contained in:
恍兮惚兮 2024-11-15 03:40:55 +08:00
parent 15346b18a6
commit fcb05dbcc4

View File

@ -1,5 +1,4 @@
#include <rapidfuzz/distance.hpp>
size_t lev_u_edit_distance(size_t len1, const wchar_t *string1,
size_t len2, const wchar_t *string2,
int xcost)
@ -157,6 +156,9 @@ size_t lev_u_edit_distance(size_t len1, const wchar_t *string1,
free(row);
return i;
}
#ifndef WINXP
#include <rapidfuzz/distance.hpp>
#endif
DECLARE_API size_t levenshtein_distance(size_t len1, const wchar_t *string1,
size_t len2, const wchar_t *string2)
{