drop compat for ancient and dead XFree86

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-xgi/-/merge_requests/6>
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-05-15 15:09:31 +02:00
parent bcb7c3a1d7
commit 3d7d54d48b
3 changed files with 0 additions and 27 deletions

View File

@@ -147,7 +147,6 @@ extern Bool g_bRunTimeDebug;
#include "xf86xv.h"
#include "compiler.h"
#ifdef XORG_VERSION_CURRENT
#include "xorgVersion.h"
/* #if XORG_VERSION_CURRENT > XORG_VERSION_NUMERIC(7,0,0,0,0) */
@@ -159,8 +158,6 @@ extern Bool g_bRunTimeDebug;
#define XGI_USE_EXA
#endif
#endif
/* Jong 01/13/2009; support EXA */
#ifdef HAVE_XAA_H
#define XGI_USE_XAA
@@ -177,13 +174,6 @@ extern Bool g_bRunTimeDebug;
#include "vgaHW.h"
#include "vbe.h"
/*
#ifdef XORG_VERSION_CURRENT
#include "xorgVersion.h"
#endif */
/* #define XGIISXORGPOST70 */
#include "xgi_pci.h"
#include "osdef.h"
#include "vgatypes.h"
@@ -195,24 +185,15 @@ extern Bool g_bRunTimeDebug;
#define XGINEWDRI
#undef XGINEWDRI2
#ifdef XF86_VERSION_CURRENT
#if XF86_VERSION_CURRENT >= XF86_VERSION_NUMERIC(4,4,99,99,0) /* Adapt this when the time has come */
#define XGINEWDRI2
#endif
#endif /* XF86_VERSION_CURRENT */
#include "xf86drm.h"
#include "sarea.h"
#define _XF86DRI_SERVER_
/* Jong@09032009 */
#ifdef XORG_VERSION_CURRENT
#if ( (XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(6,9,0,0,0)) || (XORG_VERSION_CURRENT <= XORG_VERSION_NUMERIC(2,0,0,0,0)) )
#include "X11/dri/xf86dri.h"
#else
#include "xf86dri.h"
#endif
#endif
#include "dri.h"
#include "xgi_dri.h"

View File

@@ -230,11 +230,7 @@ static XF86ModuleVersionInfo xgiVersRec = {
MODULEVENDORSTRING,
MODINFOSTRING1,
MODINFOSTRING2,
#ifdef XORG_VERSION_CURRENT
XORG_VERSION_CURRENT,
#else
XF86_VERSION_CURRENT,
#endif
PACKAGE_VERSION_MAJOR, PACKAGE_VERSION_MINOR, PACKAGE_VERSION_PATCHLEVEL,
ABI_CLASS_VIDEODRV, /* This is a video driver */
#ifdef ABI_VIDEODRV_VERSION

View File

@@ -45,16 +45,12 @@
#include "config.h"
#endif
/* Jong@09022009 */
#ifdef XORG_VERSION_CURRENT
#include "xorgVersion.h"
#if (XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(6,9,0,0,0) )
#define VC //video capture
#endif
#endif
# ifdef VC
#include <stdio.h>
#include <stdlib.h>