mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-26 23:24:13 +08:00
fix
This commit is contained in:
parent
15346b18a6
commit
fcb05dbcc4
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user