summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-06-22 13:54:55 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:31:30 +0100
commit94a46ebc2a3d83802c8ab297b4c2f4441def0ee2 (patch)
tree940283f3c5877a1093873ed64e520b6f8eb6d66c
parent617b0adac30e01b81709dc6047f42fc8e0ea915e (diff)
downloadspice-protocol-94a46ebc2a3d83802c8ab297b4c2f4441def0ee2.tar.gz
spice-protocol-94a46ebc2a3d83802c8ab297b4c2f4441def0ee2.tar.xz
spice-protocol-94a46ebc2a3d83802c8ab297b4c2f4441def0ee2.zip
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.
-rw-r--r--spice.proto2
1 files changed, 1 insertions, 1 deletions
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: