Make update-mime-database compatible with MSVC
- Port to C++ compatible code (use explicit static_cast)
- Replace dirent/opendir implementation with std::filesystem
- Disable check_in_path_xdg_data on windows as xdg_data doesn't exist on windows
- Simplify getopt handling on windows to just handle -v
Fixes #207 (closed)
Edited by David Faure