summaryrefslogtreecommitdiff
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
commit3df7798413bd554d97f1351c1dba16961f32c6fe (patch)
tree3c8a8a1d1ab39f5b8c98059f7da50db08636a2a1
parent7f86151f18ae59376401085066e19fdd244dae18 (diff)
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: