def METHOD_NAME(self):
    for patch in self.conan_data.get("patches", {}).get(self.version, []):
        tools.patch(**patch)
    if is_msvc(self):
        # when using cpp_std=c++NM the /permissive- flag is added which
        # attempts enforcing standard conformant c++ code. the problem is
        # that older versions of the Windows SDK isn't standard conformant!
        # see:
        # https://developercommunity.visualstudio.com/t/error-c2760-in-combaseapih-with-windows-sdk-81-and/185399
        tools.replace_in_file(
            os.path.join(self._source_subfolder, "meson.build"),
            "cpp_std=c++", "cpp_std=vc++")