summaryrefslogtreecommitdiff
path: root/common/compat-api.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/compat-api.h')
-rw-r--r--common/compat-api.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/compat-api.h b/common/compat-api.h
index 993daa0..f41e57b 100644
--- a/common/compat-api.h
+++ b/common/compat-api.h
@@ -98,4 +98,12 @@
#endif
+#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(23,0)
+#undef BLOCKHANDLER_ARGS_DECL
+#undef BLOCKHANDLER_ARGS
+
+#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, void *pTimeout
+#define BLOCKHANDLER_ARGS arg, pTimeout
+#endif
+
#endif