From 94a46ebc2a3d83802c8ab297b4c2f4441def0ee2 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Wed, 22 Jun 2011 13:54:55 +0200 Subject: [PATCH] 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. --- spice.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spice.proto b/spice.proto index de238c7..e3feffa 100644 --- a/spice.proto +++ b/spice.proto @@ -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: