mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-04-19 13:06:18 +00:00
Fix build on Windows (using cmake and nmake).
This commit is contained in:
@@ -55,13 +55,14 @@ int main(int argc, const char* argv[])
|
||||
size_t i;
|
||||
nfc_target_info_t nti;
|
||||
nfc_device_desc_t *pnddDevices;
|
||||
const char* acLibnfcVersion;
|
||||
|
||||
if (argc > 1) {
|
||||
errx (1, "usage: %s", argv[0]);
|
||||
}
|
||||
|
||||
// Display libnfc version
|
||||
const char* acLibnfcVersion = nfc_version();
|
||||
acLibnfcVersion = nfc_version();
|
||||
printf("%s use libnfc %s\n", argv[0], acLibnfcVersion);
|
||||
|
||||
#ifdef HAVE_LIBUSB
|
||||
|
||||
Reference in New Issue
Block a user