Skip to content

Commit 5c17a3a

Browse files
committed
Updated to the latest libusb
1 parent b98f688 commit 5c17a3a

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

external/libusb1/scripts/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ add_library(libusb1 STATIC
1717
${LIBUSB_SOURCE_DIR}/io.c
1818
${LIBUSB_SOURCE_DIR}/strerror.c
1919
${LIBUSB_SOURCE_DIR}/sync.c
20-
${LIBUSB_SOURCE_DIR}/os/poll_windows.c
21-
${LIBUSB_SOURCE_DIR}/os/windows_nt_common.c
20+
${LIBUSB_SOURCE_DIR}/os/events_windows.c
21+
${LIBUSB_SOURCE_DIR}/os/windows_common.c
2222
${LIBUSB_SOURCE_DIR}/os/windows_usbdk.c
2323
${LIBUSB_SOURCE_DIR}/os/windows_winusb.c
2424
${LIBUSB_SOURCE_DIR}/os/threads_windows.c)

external/libusb1/scripts/config.h.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,3 +156,10 @@
156156
#ifndef __cplusplus
157157
/* #undef inline */
158158
#endif
159+
160+
/* Define to 1 if compiling for a Windows platform. */
161+
#define PLATFORM_WINDOWS 1
162+
163+
/* Define to the attribute for enabling parameter checks on printf-like
164+
functions. */
165+
#define PRINTF_FORMAT(a, b) /**/

external/libusb1/source

Submodule source updated 248 files

0 commit comments

Comments
 (0)