summaryrefslogtreecommitdiff
path: root/src/sis_dri.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sis_dri.h')
-rw-r--r--src/sis_dri.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/sis_dri.h b/src/sis_dri.h
index 0799c6c..9603d42 100644
--- a/src/sis_dri.h
+++ b/src/sis_dri.h
@@ -1,4 +1,5 @@
/* $XFree86$ */
+/* $XdotOrg$ */
/*
* SiS DRI wrapper
*
@@ -36,6 +37,19 @@
#include "xf86drm.h"
+#if 0
+#ifndef DRI_VERSION_CURRENT
+#define drm_handle_t drmHandle
+#define drm_context_t drmContext
+#endif
+#ifdef DRI_VERSION_CURRENT
+#if DRI_VERSION_CURRENT < DRI_VERSION_NUMERIC(?,?,?,?)
+#define drm_handle_t drmHandle
+#define drm_context_t drmContext
+#endif
+#endif
+#endif
+
#define SIS_MAX_DRAWABLES 256
#define SISIOMAPSIZE (64*1024)