소스 검색

hidapi/libusb/hid.c (read_thread): mark as SDLCALL

Ozkan Sezer 3 년 전
부모
커밋
9220f92bae
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/hidapi/libusb/hid.c

+ 1 - 1
src/hidapi/libusb/hid.c

@@ -994,7 +994,7 @@ static void LIBUSB_CALL read_callback(struct libusb_transfer *transfer)
 }
 
 
-static int read_thread(void *param)
+static int SDLCALL read_thread(void *param)
 {
 	hid_device *dev = (hid_device *)param;
 	uint8_t *buf;