Fix build on Windows (using cmake and nmake).
This commit is contained in:
parent
3dccc218df
commit
3e8e1c8844
6 changed files with 32 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue