Use SDL_hidapi.c instead of the platform specific hid.c implementations when libusb isn't available

This commit is contained in:
Sam Lantinga
2019-11-25 15:02:48 -08:00
parent 494af7a6e7
commit de6397cfff
2 changed files with 3 additions and 22 deletions

12
configure vendored
View File

@@ -24364,17 +24364,7 @@ _ACEOF
fi
else
case "$host" in
*-*-cygwin* | *-*-mingw32* )
SOURCES="$SOURCES $srcdir/src/hidapi/windows/hid.c"
;;
*-*-darwin* )
SOURCES="$SOURCES $srcdir/src/hidapi/mac/hid.c"
;;
* )
SOURCES="$SOURCES $srcdir/src/hidapi/linux/hid.c"
;;
esac
SOURCES="$SOURCES $srcdir/src/hidapi/SDL_hidapi.c"
fi
fi