Skip to content

fix: FTBFS under MSVC

Gary Wang requested to merge BLumia/uchardet:msvc into master

This patch fixes the issue that uchardet cannot build under MSVC. Changes are:

  1. __declspec(deprecated) is okay for MSVC
  2. strcasecmp is POSIX-only, _stricmp should be used for MSVC

Co-authored-by: yyc12345 yyc12321@outlook.com

Merge request reports

Loading