mirror of
https://github.com/X11Libre/xf86-video-sis.git
synced 2026-03-24 01:25:01 +00:00
Add conditional compilation directives to suppress compilation warnings
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
This commit is contained in:
@@ -9316,7 +9316,9 @@ SISMergedPointerMoved(SCRN_ARG_TYPE arg, int x, int y)
|
||||
int CRT1XOffs = 0, CRT1YOffs = 0, CRT2XOffs = 0, CRT2YOffs = 0;
|
||||
int HVirt = pScrn1->virtualX;
|
||||
int VVirt = pScrn1->virtualY;
|
||||
#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 20
|
||||
int sigstate;
|
||||
#endif
|
||||
Bool doit = FALSE, HaveNonRect = FALSE, HaveOffsRegions = FALSE;
|
||||
SiSScrn2Rel srel = ((SiSMergedDisplayModePtr)pSiS->CurrentLayout.mode->Private)->CRT2Position;
|
||||
|
||||
@@ -13997,8 +13999,10 @@ UChar
|
||||
SiS_GetSetBIOSScratch(ScrnInfoPtr pScrn, UShort offset, UChar value)
|
||||
{
|
||||
UChar ret = 0;
|
||||
#ifndef XSERVER_LIBPCIACCESS
|
||||
#ifdef SIS_USE_BIOS_SCRATCH
|
||||
UChar *base;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* For some reasons (like detecting the current display mode),
|
||||
|
||||
Reference in New Issue
Block a user