[ fix ] missing LIBUSB_CALL definition

pull/84/merge
Fabien Le Mentec 2012-05-17 01:39:16 -05:00
rodzic bfa09149d4
commit fc85ba71f1
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -58,6 +58,10 @@ struct trans_ctx {
volatile unsigned long flags; volatile unsigned long flags;
}; };
#ifndef LIBUSB_CALL
# define LIBUSB_CALL
#endif
static void LIBUSB_CALL on_trans_done(struct libusb_transfer * trans) { static void LIBUSB_CALL on_trans_done(struct libusb_transfer * trans) {
struct trans_ctx * const ctx = trans->user_data; struct trans_ctx * const ctx = trans->user_data;