summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spice/foreign_menu_prot.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/spice/foreign_menu_prot.h b/spice/foreign_menu_prot.h
index 44f88a2..65b0fd1 100644
--- a/spice/foreign_menu_prot.h
+++ b/spice/foreign_menu_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 FOREIGN_MENU_MAGIC SPICE_MAGIC_CONST("FRGM")
#define FOREIGN_MENU_VERSION 1