Browse Source

Add hid_version and hid_version_str to renamed LIBUSB impl symbols

RipleyTom 4 months ago
parent
commit
e90f7ac4a8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/hidapi/SDL_hidapi.c

+ 2 - 0
src/hidapi/SDL_hidapi.c

@@ -807,6 +807,8 @@ typedef struct LIBUSB_hid_device_ LIBUSB_hid_device;
 #define hid_send_feature_report      LIBUSB_hid_send_feature_report
 #define hid_set_nonblocking          LIBUSB_hid_set_nonblocking
 #define hid_write                    LIBUSB_hid_write
+#define hid_version                  LIBUSB_hid_version
+#define hid_version_str              LIBUSB_hid_version_str
 #define input_report                 LIBUSB_input_report
 #define make_path                    LIBUSB_make_path
 #define new_hid_device               LIBUSB_new_hid_device