fix: FTBFS under MSVC
This patch fixes the issue that uchardet cannot build under MSVC. Changes are:
-
__declspec(deprecated)
is okay for MSVC -
strcasecmp
is POSIX-only,_stricmp
should be used for MSVC
Co-authored-by: yyc12345 yyc12321@outlook.com