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:
Christophe Fergeau 2011-06-22 13:54:55 +02:00 committed by Marc-André Lureau
parent 617b0adac3
commit 94a46ebc2a

View File

@ -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: