mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2025-12-27 15:08:16 +00:00
use new @ifdef directive for smartcard messages
We don't want to conditionally compile the smartcard messages depending on whether USE_SMARTCARD is set or not, we can now use the @ifdef attribute for that.
This commit is contained in:
parent
617b0adac3
commit
94a46ebc2a
@ -1190,7 +1190,7 @@ channel SmartcardChannel : BaseChannel {
|
||||
message {
|
||||
int8 reader_name[] @zero_terminated @nonnull;
|
||||
} @ctype(VSCMsgReaderAdd) reader_add = 101;
|
||||
};
|
||||
} @ifdef(USE_SMARTCARD);
|
||||
|
||||
channel SpicevmcChannel : BaseChannel {
|
||||
server:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user