Fix libusb callback for Windows
Add LIBUSB_CALL so that the callback has the correct signature on
Windows (including __attribute__((stdcall))).
PR <https://github.com/Genymobile/scrcpy/pull/3011>
@@ -237,7 +237,7 @@ sc_usb_check_disconnected(struct sc_usb *usb, int result) {
return true;
}
-static int
+static LIBUSB_CALL int
sc_usb_libusb_callback(libusb_context *ctx, libusb_device *device,
libusb_hotplug_event event, void *userdata) {
(void) ctx;
