summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac8
-rw-r--r--src/Xv.c12
2 files changed, 1 insertions, 19 deletions
diff --git a/configure.ac b/configure.ac
index 93c326d..c154f1a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,13 +41,7 @@ XORG_DEFAULT_OPTIONS
XORG_CHECK_MALLOC_ZERO
# Obtain compiler/linker options for depedencies
-PKG_CHECK_MODULES(XV, [x11 >= 1.5 xext xextproto videoproto])
-
-# Check for _XEatDataWords function that may be patched into older Xlib release
-SAVE_LIBS="$LIBS"
-LIBS="$XV_LIBS"
-AC_CHECK_FUNCS([_XEatDataWords])
-LIBS="$SAVE_LIBS"
+PKG_CHECK_MODULES(XV, [x11 >= 1.6 xext xextproto videoproto])
# Allow checking code with lint, sparse, etc.
XORG_WITH_LINT
diff --git a/src/Xv.c b/src/Xv.c
index d3e3373..e47093a 100644
--- a/src/Xv.c
+++ b/src/Xv.c
@@ -60,18 +60,6 @@ SOFTWARE.
#include <X11/extensions/XShm.h>
#include <limits.h>
-#ifndef HAVE__XEATDATAWORDS
-static inline void
-_XEatDataWords(Display *dpy, unsigned long n)
-{
-# ifndef LONG64
- if (n >= (ULONG_MAX >> 2))
- _XIOError(dpy);
-# endif
- _XEatData(dpy, n << 2);
-}
-#endif
-
static XExtensionInfo _xv_info_data;
static XExtensionInfo *xv_info = &_xv_info_data;
static const char *xv_extension_name = XvName;