This fixes the warning:
libusb.h(1882): warning C5039: 'libusb_fill_bulk_transfer': pointer or
reference to potentially throwing function passed to 'extern "C"'
function under -EHc. Undefined behavior may occur if this function
throws an exception.
Do note that an identical fix needs to be applied to consumers, currently Meson does not expose this.
This fixes the warning:
> libusb.h(1882): warning C5039: 'libusb_fill_bulk_transfer': pointer or
> reference to potentially throwing function passed to 'extern "C"'
> function under -EHc. Undefined behavior may occur if this function
> throws an exception.
Do note that an identical fix needs to be applied to consumers, currently Meson does not expose this.