Externals: Update libusb to 1.0.23-rc1

Now has support for isochronous transfers in the WinUSB backend,
which may or may not work better than the UsbDk backend.
This commit is contained in:
Léo Lam
2019-05-01 11:47:48 +02:00
parent 42de5b9a10
commit 1b9617c85c
163 changed files with 19633 additions and 7732 deletions

View File

@ -2,6 +2,8 @@
TARGETNAME=libusb-1.0
DLLDEF=..\libusb-1.0.def
_NT_TARGET_VERSION=$(_NT_TARGET_VERSION_WINXP)
!IFNDEF MSC_WARNING_LEVEL
MSC_WARNING_LEVEL=/W3
!ENDIF
@ -12,12 +14,8 @@ USE_LIBCMT=1
USE_MSVCRT=1
!ENDIF
!IFDEF WITH_USBDK
BACKEND_DEFINES="/DUSE_USBDK"
!ENDIF
INCLUDES=..;..\..\msvc;$(DDK_INC_PATH)
C_DEFINES= $(C_DEFINES) $(LIBUSB_DEFINES) $(BACKEND_DEFINES) /DDDKBUILD
C_DEFINES=$(C_DEFINES) $(LIBUSB_DEFINES) /DDDKBUILD
# http://jpassing.com/2009/10/21/ltcg-issues-with-the-win7amd64-environment-of-wdk-7600/
# prevents the following error when using the 64 bit static lib with Visual Studio 2010:
@ -28,18 +26,18 @@ C_DEFINES= $(C_DEFINES) $(LIBUSB_DEFINES) $(BACKEND_DEFINES) /DDDKBUILD
# an older compiler than other objects; rebuild old objects and libraries"
USER_C_FLAGS=/GL-
TARGETLIBS=$(SDK_LIB_PATH)\kernel32.lib
TARGETLIBS=$(SDK_LIB_PATH)\advapi32.lib \
$(SDK_LIB_PATH)\kernel32.lib
SOURCES=..\core.c \
..\descriptor.c \
..\hotplug.c \
..\io.c \
poll_windows.c \
..\strerror.c \
..\sync.c \
..\hotplug.c \
threads_windows.c \
poll_windows.c \
windows_nt_common.c \
windows_usbdk.c \
windows_winusb.c \
windows_usbdk.c \
windows_nt_common.c \
..\libusb-1.0.rc