summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spice/controller_prot.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/spice/controller_prot.h b/spice/controller_prot.h
index 0b0316f..9216e38 100644
--- a/spice/controller_prot.h
+++ b/spice/controller_prot.h
@@ -22,6 +22,10 @@
#include <spice/types.h>
#include <spice/start-packed.h>
+#ifndef SPICE_DISABLE_DEPRECATED
+#error "This SPICE interface is deprecated"
+#endif
+
#define CONTROLLER_MAGIC SPICE_MAGIC_CONST("CTRL")
#define CONTROLLER_VERSION 1