sr_buildinfo_libs_get(): Show LIBUSB_API_VERSION.

This commit is contained in:
Uwe Hermann 2018-07-19 23:56:33 +02:00
parent 9bf093011a
commit e6104296c2
1 changed files with 3 additions and 2 deletions

View File

@ -153,8 +153,9 @@ SR_API GSList *sr_buildinfo_libs_get(void)
m = g_slist_append(m, g_strdup_printf("%s", CONF_LIBUSB_1_0_VERSION)); m = g_slist_append(m, g_strdup_printf("%s", CONF_LIBUSB_1_0_VERSION));
#else #else
lv = libusb_get_version(); lv = libusb_get_version();
m = g_slist_append(m, g_strdup_printf("%d.%d.%d.%d%s", m = g_slist_append(m, g_strdup_printf("%d.%d.%d.%d%s API 0x%08x",
lv->major, lv->minor, lv->micro, lv->nano, lv->rc)); lv->major, lv->minor, lv->micro, lv->nano, lv->rc,
LIBUSB_API_VERSION));
#endif #endif
l = g_slist_append(l, m); l = g_slist_append(l, m);
#endif #endif