Skip to content

Commit

Permalink
Add #ifdef for TWINSERIAL
Browse files Browse the repository at this point in the history
Newly introduced functions get_ccid_usb_XXX() are not available with
  ./configure --enable-twinserial.
  • Loading branch information
stephan57160 authored and LudovicRousseau committed Apr 14, 2020
1 parent 1b4c6ac commit 4c8c809
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ifdhandler.c
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,7 @@ EXTERNAL RESPONSECODE IFDHGetCapabilities(DWORD Lun, DWORD Tag,
}
break;

#if !defined(TWIN_SERIAL)
case SCARD_ATTR_CHANNEL_ID:
{
*Length = sizeof(uint32_t);
Expand All @@ -622,6 +623,7 @@ EXTERNAL RESPONSECODE IFDHGetCapabilities(DWORD Lun, DWORD Tag,
}
}
break;
#endif

default:
return_value = IFD_ERROR_TAG;
Expand Down

0 comments on commit 4c8c809

Please sign in to comment.