diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2017-02-18 18:08:54 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2017-02-18 18:08:54 +0000 |
commit | d789291832700a8167bfa6c1b7baf954dc44a00b (patch) | |
tree | 22286b6f011d010d5537c7f73cfe04f74be9586f /driver/xf86-video-siliconmotion/src/compat-api.h | |
parent | d6b95bd979742d669bf2d69643559781aa8930ed (diff) |
Update to xf86-video-siliconmotion 1.7.9
Diffstat (limited to 'driver/xf86-video-siliconmotion/src/compat-api.h')
-rw-r--r-- | driver/xf86-video-siliconmotion/src/compat-api.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/driver/xf86-video-siliconmotion/src/compat-api.h b/driver/xf86-video-siliconmotion/src/compat-api.h index 6bc946fd6..89976e41c 100644 --- a/driver/xf86-video-siliconmotion/src/compat-api.h +++ b/driver/xf86-video-siliconmotion/src/compat-api.h @@ -75,8 +75,13 @@ #define SCREEN_INIT_ARGS_DECL ScreenPtr pScreen, int argc, char **argv +#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(23, 0) +#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout +#define BLOCKHANDLER_ARGS arg, pTimeout +#else #define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer pReadmask #define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask +#endif #define CLOSE_SCREEN_ARGS_DECL ScreenPtr pScreen #define CLOSE_SCREEN_ARGS pScreen |